aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.tests')
-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.
#