[llvm-commits] CVS: llvm/test/Programs/MultiSource/Makefile.multisrc
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 20 11:45:01 PDT 2003
Changes in directory llvm/test/Programs/MultiSource:
Makefile.multisrc updated: 1.31 -> 1.32
---
Log message:
Add support for wc'ing tests not in the source tree
---
Diffs of the changes:
Index: llvm/test/Programs/MultiSource/Makefile.multisrc
diff -u llvm/test/Programs/MultiSource/Makefile.multisrc:1.31 llvm/test/Programs/MultiSource/Makefile.multisrc:1.32
--- llvm/test/Programs/MultiSource/Makefile.multisrc:1.31 Mon Jun 2 00:49:11 2003
+++ llvm/test/Programs/MultiSource/Makefile.multisrc Fri Jun 20 11:43:52 2003
@@ -58,8 +58,9 @@
Output/%.linked.rll: $(LObjects) $(LLINK) $(LOPT) $(LDIS)
$(LLINK) -f $(LObjects) | $(LOPT) -funcresolve -deadtypeelim -q | $(LDIS) > $@
-Output/%.LOC.txt: $(Source)
- cat $(Source) $(wildcard *.h) | wc -l > $@
+$(PROGRAMS_TO_TEST:%=Output/%.LOC.txt): \
+Output/%.LOC.txt: $(addprefix $(SourceDir), $(Source))
+ cat $(addprefix $(SourceDir), $(Source)) $(wildcard $(SourceDir)/*.h) | wc -l > $@
endif
More information about the llvm-commits
mailing list