changeset 26525:042e31cf3c25

Make OBJS depend on the recurse target instead of just the all target. This fixes 'make mplayer' and 'make mencoder'.
author diego
date Mon, 28 Apr 2008 11:22:25 +0000
parents 6cd1f5a6352f
children f5329f6f59c3
files Makefile
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Apr 28 10:44:59 2008 +0000
+++ b/Makefile	Mon Apr 28 11:22:25 2008 +0000
@@ -647,7 +647,7 @@
         TOOLS \
         vidix \
 
-all:	recurse $(ALL_PRG)
+all: $(ALL_PRG)
 
 recurse:
 	for part in $(PARTS); do $(MAKE) -C $$part; done
@@ -671,6 +671,8 @@
 
 $(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE)))
 
+$(OBJS): recurse
+
 mplayer$(EXESUF): $(MPLAYER_DEPS)
 	$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)