[Intel-gfx] [PATCH i-g-t 5/6] Makefile.meson: no need to have a separate default target
Jani Nikula
jani.nikula at intel.com
Tue Oct 24 09:52:55 UTC 2017
Just place "all" target at the top. Makefiles aren't ordered.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
Makefile.meson | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/Makefile.meson b/Makefile.meson
index 82fa50bf92e5..c7a87f37f47d 100644
--- a/Makefile.meson
+++ b/Makefile.meson
@@ -1,10 +1,11 @@
# -*- makefile -*-
# Simple makefile integration for meson
-.PHONY: default all clean test reconfigure check distcheck dist distclean \
- install uninstall docs
+.PHONY: all clean test reconfigure check distcheck dist distclean install \
+ uninstall docs
-default: all
+all: build/build.ninja
+ ninja -C build
Makefile: Makefile.meson
cp $< $@
@@ -12,9 +13,6 @@ Makefile: Makefile.meson
build/build.ninja: Makefile
meson build
-all: build/build.ninja
- ninja -C build
-
clean: build/build.ninja
ninja -C build clean
--
2.11.0
More information about the Intel-gfx
mailing list