22 lines
311 B
Makefile
22 lines
311 B
Makefile
# 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
|
|
|