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

Chris Lattner lattner at cs.uiuc.edu
Thu Sep 15 18:28:49 PDT 2005



Changes in directory llvm-test:

Makefile.programs updated: 1.169 -> 1.170
---
Log message:

Fix these rules to not leave the file around if the diff file doesn't exist


---
Diffs of the changes:  (+6 -0)

 Makefile.programs |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm-test/Makefile.programs
diff -u llvm-test/Makefile.programs:1.169 llvm-test/Makefile.programs:1.170
--- llvm-test/Makefile.programs:1.169	Tue Sep  6 19:15:36 2005
+++ llvm-test/Makefile.programs	Thu Sep 15 20:28:37 2005
@@ -459,26 +459,32 @@
 ifndef DISABLE_DIFFS
 $(PROGRAMS_TO_TEST:%=Output/%.exe-lli): \
 Output/%.exe-lli: Output/%.diff-lli
+	-rm $@
 	-cp $< $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.exe-jit): \
 Output/%.exe-jit: Output/%.diff-jit
+	-rm $@
 	-cp $< $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.exe-jit-beta): \
 Output/%.exe-jit-beta: Output/%.diff-jit-beta
+	-rm $@
 	-cp $< $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.exe-llc): \
 Output/%.exe-llc: Output/%.diff-llc
+	-rm $@
 	-cp $< $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.exe-llc-beta): \
 Output/%.exe-llc-beta: Output/%.diff-llc-beta
+	-rm $@
 	-cp $< $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.exe-cbe): \
 Output/%.exe-cbe: Output/%.diff-cbe
+	-rm $@
 	-cp $< $@
 
 # Pseudo target to build just the bytecode file.






More information about the llvm-commits mailing list