aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-02 05:49:11 +0000
committerChris Lattner <sabre@nondot.org>2003-06-02 05:49:11 +0000
commit707af6efecf6c4c949bc22a0d958daffc6ddedd9 (patch)
tree7d04507820730353f328ec517d6b234dd37fbbd9 /test
parent920bd79f344acfabe23c8fb00363c58532426753 (diff)
downloadexternal_llvm-707af6efecf6c4c949bc22a0d958daffc6ddedd9.zip
external_llvm-707af6efecf6c4c949bc22a0d958daffc6ddedd9.tar.gz
external_llvm-707af6efecf6c4c949bc22a0d958daffc6ddedd9.tar.bz2
Add support for C++ tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index fc93463..8ae3465 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -87,6 +87,10 @@ Output/%.ll: $(SourceDir)%.c $(LCC1) Output/.dir $(INCLUDES)
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.
#