From: Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Date: Fri, 21 Jan 2011 14:23:15 +0000 (+0100)
Subject: Makefile: improve rules for target "full".
X-Git-Tag: v0.1~188^2~23
X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/4fe47748b018bd1d159839fe9e2bb6685a895e85

Makefile: improve rules for target "full".

Do not build simple_async, and "make -j" should now work correctly.
---

diff --git a/Makefile b/Makefile
index 127476b..8a6bff4 100644
--- a/Makefile
+++ b/Makefile
@@ -56,8 +56,11 @@ TARGETS := $(DEFAULT_TARGETS)	\
 all: $(DEFAULT_TARGETS)
 
 full:
-	$(MAKE) $(FLAVOURED_LOBA)
-	$(MAKE) $(TARGETS)
+	@for target in $(FLAVOURED_LOBA); do	\
+		echo $(MAKE) "$$target";	\
+		$(MAKE) "$$target";		\
+	done
+	$(MAKE) $(DEFAULT_TARGETS)
 
 clean:
 	$(RM) core core.[0-9]* vgcore.[0-9]*