mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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:
parent
caca521296
commit
df22d5fd5d
4
Makefile
4
Makefile
@ -647,7 +647,7 @@ DIRS = dvdread \
|
|||||||
TOOLS \
|
TOOLS \
|
||||||
vidix \
|
vidix \
|
||||||
|
|
||||||
all: recurse $(ALL_PRG)
|
all: $(ALL_PRG)
|
||||||
|
|
||||||
recurse:
|
recurse:
|
||||||
for part in $(PARTS); do $(MAKE) -C $$part; done
|
for part in $(PARTS); do $(MAKE) -C $$part; done
|
||||||
@ -671,6 +671,8 @@ endef
|
|||||||
|
|
||||||
$(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE)))
|
$(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE)))
|
||||||
|
|
||||||
|
$(OBJS): recurse
|
||||||
|
|
||||||
mplayer$(EXESUF): $(MPLAYER_DEPS)
|
mplayer$(EXESUF): $(MPLAYER_DEPS)
|
||||||
$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
|
$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user