mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
Get rid of "define RECURSIVE_RULE" since a lot of make version have problems
with it, especially with -j n. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26858 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c134dd4c8d
commit
793e5b324e
8
Makefile
8
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user