[llvm-commits] CVS: llvm/Makefile.common
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 16 14:03:01 PST 2003
Changes in directory llvm:
Makefile.common updated: 1.70 -> 1.71
---
Log message:
Add support for a recursive test target
---
Diffs of the changes:
Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.70 llvm/Makefile.common:1.71
--- llvm/Makefile.common:1.70 Sun Dec 15 19:31:18 2002
+++ llvm/Makefile.common Thu Jan 16 14:02:30 2003
@@ -215,7 +215,7 @@
#---------------------------------------------------------
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 @@
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
More information about the llvm-commits
mailing list