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

Chris Lattner lattner at cs.uiuc.edu
Mon Jun 2 00:50:01 PDT 2003


Changes in directory llvm/test:

Makefile.tests updated: 1.58 -> 1.59

---
Log message:

Add support for C++ tests


---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.58 llvm/test/Makefile.tests:1.59
--- llvm/test/Makefile.tests:1.58	Sat May 17 17:33:18 2003
+++ llvm/test/Makefile.tests	Mon Jun  2 00:49:09 2003
@@ -87,6 +87,10 @@
 Output/%.ll: $(SourceDir)%.cpp $(LCC1XX) Output/.dir $(INCLUDES)
 	$(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
 
+# Compile from X.cc to Output/X.ll
+Output/%.ll: $(SourceDir)%.cc $(LCC1XX) Output/.dir $(INCLUDES)
+	$(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
+
 # LLVM Assemble from Output/X.ll to Output/X.bc.  Output/X.ll must have come
 # from GCC output, so use GCCAS.
 #





More information about the llvm-commits mailing list