[PATCH i-g-t 5/6] Makefile.meson: no need to have a separate default target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just place "all" target at the top. Makefiles aren't ordered.

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux