meson.make 342 Bytes
Newer Older
Salamandar's avatar
Salamandar committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/usr/bin/env -S make -f
default: build

# This file is executable so you can do
# ./meson.make
# ./meson.make install


prefix = /usr
prefix = $(HOME)/.local


_build:
	meson _build --prefix=$(prefix)


.PHONY: build
build: | _build
	ninja -C _build


.PHONY: install
install:
	ninja -C _build install


.PHONY: clean
clean:
	rm -rf _build