Make OBJS depend on the recurse target instead of just the all target.

This fixes 'make mplayer' and 'make mencoder'.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26557 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-04-28 11:22:25 +00:00
parent caca521296
commit df22d5fd5d
1 changed files with 3 additions and 1 deletions

View File

@ -647,7 +647,7 @@ DIRS = dvdread \
TOOLS \
vidix \
all: recurse $(ALL_PRG)
all: $(ALL_PRG)
recurse:
for part in $(PARTS); do $(MAKE) -C $$part; done
@ -671,6 +671,8 @@ endef
$(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE)))
$(OBJS): recurse
mplayer$(EXESUF): $(MPLAYER_DEPS)
$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)