Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 14c4096

Browse files
committed
tweak for SPEC
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@26406 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2227506 commit 14c4096

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Makefile.tests

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ Output/%.ll: %.cpp $(LCC1XX) Output/.dir $(INCLUDES)
6060
Output/%.ll: %.cc $(LCC1XX) Output/.dir $(INCLUDES)
6161
-$(LLVMGXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@ -emit-llvm
6262

63+
# Compile from X.C to Output/X.ll
64+
Output/%.ll: %.C $(LCC1XX) Output/.dir $(INCLUDES)
65+
-$(LLVMGXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@ -emit-llvm
66+
6367
# LLVM Assemble from Output/X.ll to Output/X.bc. Output/X.ll must have come
6468
# from GCC output, so use GCCAS.
6569
#

MultiSource/Makefile.multisrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ NObjects := $(addprefix Output/,$(NObjs))
3131
Output/%.o: %.c Output/.dir
3232
-$(CC) $(CPPFLAGS) $(CFLAGS) -O2 $(TARGET_CFLAGS) -c $< -o $@
3333

34+
Output/%.o: %.C Output/.dir
35+
-$(CC) $(CPPFLAGS) $(CXXFLAGS) -O2 $(TARGET_CFLAGS) -c $< -o $@
36+
3437
Output/%.o: %.cpp Output/.dir
3538
-$(CC) $(CPPFLAGS) $(CXXFLAGS) -O2 $(TARGET_CFLAGS) -c $< -o $@
3639

0 commit comments

Comments
 (0)