[llvm-commits] CVS: llvm/test/Programs/Makefile.programs

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 16 16:55:05 PST 2003


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.26 -> 1.27

---
Log message:

Simplify makefile with $*


---
Diffs of the changes:

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.26 llvm/test/Programs/Makefile.programs:1.27
--- llvm/test/Programs/Makefile.programs:1.26	Thu Jan 16 16:32:26 2003
+++ llvm/test/Programs/Makefile.programs	Thu Jan 16 16:54:32 2003
@@ -151,16 +151,16 @@
 
 # Rules to diff test output...
 Output/%.diff-lli: Output/%.out-nat Output/%.out-lli
-	$(DIFFPROG) lli $(subst Output/,,$(@:.diff-lli=))
+	$(DIFFPROG) lli $*
 
 Output/%.diff-jit: Output/%.out-nat Output/%.out-jit
-	$(DIFFPROG) jit $(subst Output/,,$(@:.diff-jit=))
+	$(DIFFPROG) jit $*
 
 Output/%.diff-llc: Output/%.out-nat Output/%.out-llc
-	$(DIFFPROG) llc $(subst Output/,,$(@:.diff-llc=))
+	$(DIFFPROG) llc $*
 
 Output/%.diff-cbe: Output/%.out-nat Output/%.out-cbe
-	$(DIFFPROG) cbe $(subst Output/,,$(@:.diff-cbe=))
+	$(DIFFPROG) cbe $*
 
 # Support for the TEST= option... when TEST= is specified on the command line,
 # the default target is the test target.  Here we dispatch to a specific set of





More information about the llvm-commits mailing list