aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-12-29 22:02:12 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-12-29 22:02:12 +0000
commitb1f5cfe0c4ab46c4c2650cc583118241f93fb4e0 (patch)
treecb75050f67291b14777b0a665a3afaf5ef543fb3 /Makefile.rules
parent9b448b703fbd60951a57e4d912bcbaf0181ed253 (diff)
Allow C++ programs to end in .cc. This allows C++ test programs in the
test suite to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 1fbcf43ac0..2390897c6b 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -364,7 +364,8 @@ AR = ${AR_PATH} cq
#
ifndef Source
Source := $(notdir $(ExtraSource) $(wildcard $(SourceDir)/*.cpp \
- $(SourceDir)/*.c $(SourceDir)/*.y $(SourceDir)/*.l))
+ $(SourceDir)/*.cc $(SourceDir)/*.c $(SourceDir)/*.y \
+ $(SourceDir)/*.l))
endif
#