[llvm-commits] CVS: llvm/test/Programs/Makefile.programs
Chris Lattner
lattner at cs.uiuc.edu
Sun May 11 13:50:06 PDT 2003
Changes in directory llvm/test/Programs:
Makefile.programs updated: 1.43 -> 1.44
---
Log message:
* Don't stop the build if something fails
* Move llc code gen stuff from Makefile.tests
---
Diffs of the changes:
Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.43 llvm/test/Programs/Makefile.programs:1.44
--- llvm/test/Programs/Makefile.programs:1.43 Sun May 11 12:34:39 2003
+++ llvm/test/Programs/Makefile.programs Sun May 11 13:49:34 2003
@@ -186,11 +186,25 @@
#
$(PROGRAMS_TO_TEST:%=Output/%.cbe.c): \
Output/%.cbe.c: Output/%.llvm.bc $(LDIS)
- $(LDIS) -c < $< > $@
+ -$(LDIS) -c < $< > $@
$(PROGRAMS_TO_TEST:%=Output/%.cbe): \
Output/%.cbe: Output/%.cbe.c
- $(CC) -o $@ $< $(LDFLAGS) $(CFLAGS)
+ -$(CC) -o $@ $< $(LDFLAGS) $(CFLAGS)
+
+#
+# Compile a linked program to machine code with LLC.
+#
+$(PROGRAMS_TO_TEST:%=Output/%.llc.s): \
+Output/%.llc.s: Output/%.llvm.bc $(LLC)
+ -$(LLC) $(LLCFLAGS) -f $< -o $@
+
+# Assemble (and link) an LLVM-linked program using the system assembler...
+#
+$(PROGRAMS_TO_TEST:%=Output/%.llc): \
+Output/%.llc: Output/%.llc.s
+ -$(CC) $(CFLAGS) $< $(LLCLIBS) -o $@
+
#
# Rules to execute the program
More information about the llvm-commits
mailing list