diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-17 13:47:40 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-17 13:47:40 +0100 |
commit | 8552384e46e6e3eea79d0bdb8b15e6dcfa3055e7 (patch) | |
tree | fc2a476d864ba4c01b8543688f17dc85f89eadea | |
parent | 9a900fb97114cbb84a08f43a30b8e6a387c72480 (diff) | |
download | vconsole-8552384e46e6e3eea79d0bdb8b15e6dcfa3055e7.tar.gz |
add wrapper makefile
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0cf8607 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +MESON := $(shell which meson 2>/dev/null) +NINJA := $(shell which ninja-build 2>/dev/null || which ninja 2>/dev/null) +HOST := $(shell hostname -s) +BDIR := build-meson-$(HOST) + +build: $(BDIR)/build.ninja + $(NINJA) -C $(BDIR) + +$(BDIR)/build.ninja: + $(MESON) $(BDIR) + |