er2cord/Makefile

23 lines
311 B
Makefile
Raw Normal View History

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