mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Add support for a recursive test target
llvm-svn: 5332
This commit is contained in:
parent
a3349072d8
commit
5980e78051
@ -215,7 +215,7 @@ ObjectsG := $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
|
||||
#---------------------------------------------------------
|
||||
|
||||
ifdef DIRS
|
||||
all install clean ::
|
||||
all install clean test ::
|
||||
$(VERB) for dir in ${DIRS}; do \
|
||||
(cd $$dir; $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
@ -226,8 +226,9 @@ ifdef PARALLEL_DIRS
|
||||
all :: $(addsuffix /.makeall , $(PARALLEL_DIRS))
|
||||
install :: $(addsuffix /.makeinstall, $(PARALLEL_DIRS))
|
||||
clean :: $(addsuffix /.makeclean , $(PARALLEL_DIRS))
|
||||
test :: $(addsuffix /.maketest , $(PARALLEL_DIRS))
|
||||
|
||||
%/.makeall %/.makeinstall %/.makeclean:
|
||||
%/.makeall %/.makeinstall %/.makeclean %/.maketest:
|
||||
$(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
|
||||
|
||||
endif
|
||||
|
@ -215,7 +215,7 @@ ObjectsG := $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
|
||||
#---------------------------------------------------------
|
||||
|
||||
ifdef DIRS
|
||||
all install clean ::
|
||||
all install clean test ::
|
||||
$(VERB) for dir in ${DIRS}; do \
|
||||
(cd $$dir; $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
@ -226,8 +226,9 @@ ifdef PARALLEL_DIRS
|
||||
all :: $(addsuffix /.makeall , $(PARALLEL_DIRS))
|
||||
install :: $(addsuffix /.makeinstall, $(PARALLEL_DIRS))
|
||||
clean :: $(addsuffix /.makeclean , $(PARALLEL_DIRS))
|
||||
test :: $(addsuffix /.maketest , $(PARALLEL_DIRS))
|
||||
|
||||
%/.makeall %/.makeinstall %/.makeclean:
|
||||
%/.makeall %/.makeinstall %/.makeclean %/.maketest:
|
||||
$(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user