gimp/meson.make
Niels De Graef b61dd873d5 meson.make: Don't use backend-specific calls
There's always a possibility that someone wants to use meson with
something else than `ninja` (in theory, since this is the only supported
backend atm). It also means less commands to remember for newcomers.
2021-09-30 16:13:35 +02:00

29 lines
350 B
Makefile
Executable file

#!/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
meson compile -C _build
.PHONY: install
install:
meson install -C _build
.PHONY: clean
clean:
rm -rf _build