]> AND Private Git Repository - loba.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Makefile: improve rules for target "full".
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 21 Jan 2011 14:23:15 +0000 (15:23 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 21 Jan 2011 14:23:15 +0000 (15:23 +0100)
Do not build simple_async, and "make -j" should now work correctly.

Makefile

index 127476b860120ad0aa371fd665a1f09ac1976c3c..8a6bff430f18e8d85ecdee2bd9ad1e7787ae5961 100644 (file)
--- 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]*