[MPlayer-cvslog] r26858 - trunk/Makefile

reimar subversion at mplayerhq.hu
Fri May 23 16:52:12 CEST 2008


Author: reimar
Date: Fri May 23 16:52:12 2008
New Revision: 26858

Log:
Get rid of "define RECURSIVE_RULE" since a lot of make version have problems
with it, especially with -j n.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Fri May 23 16:52:12 2008
@@ -719,12 +719,10 @@ checkheaders: $(ALLHEADERS:.h=.ho)
 dep depend: $(DEPS)
 	for part in $(PARTS); do $(MAKE) -C $$part depend; done
 
-define RECURSIVE_RULE
-$(part)/$(part).a: recurse
-	$(MAKE) -C $(part)
-endef
+ALLPARTLIBS = $(foreach part, $(PARTS), $(part)/$(part).a)
 
-$(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE)))
+$(ALLPARTLIBS): recurse
+	$(MAKE) -C $(@D)
 
 mplayer$(EXESUF): $(MPLAYER_DEPS)
 	$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)



More information about the MPlayer-cvslog mailing list