# You can still use meson, but can make NAME = er2cord DESTDIR ?= / all: build build: build/$(NAME) build/$(NAME): meson build ninja -C build install: build ninja -C build install docs: build mkdir -p "$(DESTDIR)" find dist/ ! -name '*er2cord*' -exec cp -f "{}" "$(DESTDIR)" \; clean: rm -rf build