mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
Fix parallel recursive make to build directories in order
llvm-svn: 3794
This commit is contained in:
parent
fa57849866
commit
f1c3571159
@ -179,12 +179,10 @@ ObjectsG = $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
|
||||
|
||||
ifdef DIRS # Only do this if we're using DIRS!
|
||||
|
||||
all :: $(addsuffix /.makeall , $(DIRS))
|
||||
install :: $(addsuffix /.makeinstall, $(DIRS))
|
||||
clean :: $(addsuffix /.makeclean , $(DIRS))
|
||||
|
||||
%/.makeall %/.makeclean %/.makeinstall:
|
||||
$(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
|
||||
all install clean::
|
||||
@for dir in ${DIRS}; do \
|
||||
(cd $$dir; $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
endif
|
||||
|
||||
#---------------------------------------------------------
|
||||
|
@ -179,12 +179,10 @@ ObjectsG = $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
|
||||
|
||||
ifdef DIRS # Only do this if we're using DIRS!
|
||||
|
||||
all :: $(addsuffix /.makeall , $(DIRS))
|
||||
install :: $(addsuffix /.makeinstall, $(DIRS))
|
||||
clean :: $(addsuffix /.makeclean , $(DIRS))
|
||||
|
||||
%/.makeall %/.makeclean %/.makeinstall:
|
||||
$(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
|
||||
all install clean::
|
||||
@for dir in ${DIRS}; do \
|
||||
(cd $$dir; $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
endif
|
||||
|
||||
#---------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user