mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix parallel recursive make to build directories in order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
52ee1b08ac
commit
f1ffd99a75
@ -179,12 +179,10 @@ ObjectsG = $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
|
|||||||
|
|
||||||
ifdef DIRS # Only do this if we're using DIRS!
|
ifdef DIRS # Only do this if we're using DIRS!
|
||||||
|
|
||||||
all :: $(addsuffix /.makeall , $(DIRS))
|
all install clean::
|
||||||
install :: $(addsuffix /.makeinstall, $(DIRS))
|
@for dir in ${DIRS}; do \
|
||||||
clean :: $(addsuffix /.makeclean , $(DIRS))
|
(cd $$dir; $(MAKE) $@) || exit 1; \
|
||||||
|
done
|
||||||
%/.makeall %/.makeclean %/.makeinstall:
|
|
||||||
$(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#---------------------------------------------------------
|
#---------------------------------------------------------
|
||||||
|
@ -179,12 +179,10 @@ ObjectsG = $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
|
|||||||
|
|
||||||
ifdef DIRS # Only do this if we're using DIRS!
|
ifdef DIRS # Only do this if we're using DIRS!
|
||||||
|
|
||||||
all :: $(addsuffix /.makeall , $(DIRS))
|
all install clean::
|
||||||
install :: $(addsuffix /.makeinstall, $(DIRS))
|
@for dir in ${DIRS}; do \
|
||||||
clean :: $(addsuffix /.makeclean , $(DIRS))
|
(cd $$dir; $(MAKE) $@) || exit 1; \
|
||||||
|
done
|
||||||
%/.makeall %/.makeclean %/.makeinstall:
|
|
||||||
$(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#---------------------------------------------------------
|
#---------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user