summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-01 23:35:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-01 23:35:49 +0000
commita6fd8452b557b9bc8350d343da2bea2b0b5dc28a (patch)
treecad0bbece1c587f5ff6c86dcbd83fb585443c2f3 /Makefile
parentc1ef2a0b8022f200f8bbb36641df866c4369876d (diff)
build/make: Add rule for .cc files.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 22013c0af..92938aa28 100644
--- a/Makefile
+++ b/Makefile
@@ -228,6 +228,9 @@ $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.S $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
$(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.c $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
$(Summary) " COMPILE: $(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch): $$<"
$(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c -o $$@ $$<
+$(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.cc $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
+ $(Summary) " COMPILE: $(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch): $$<"
+ $(Verb) $(Tmp.CC) $(Tmp.CFLAGS) -c -o $$@ $$<
.PRECIOUS: $(Tmp.ObjPath)/.dir
endef