[llvm-commits] [compiler-rt] r145646 - /compiler-rt/trunk/Makefile
Daniel Dunbar
daniel at zuster.org
Thu Dec 1 15:35:49 PST 2011
Author: ddunbar
Date: Thu Dec 1 17:35:49 2011
New Revision: 145646
URL: http://llvm.org/viewvc/llvm-project?rev=145646&view=rev
Log:
build/make: Add rule for .cc files.
Modified:
compiler-rt/trunk/Makefile
Modified: compiler-rt/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/Makefile?rev=145646&r1=145645&r2=145646&view=diff
==============================================================================
--- compiler-rt/trunk/Makefile (original)
+++ compiler-rt/trunk/Makefile Thu Dec 1 17:35:49 2011
@@ -228,6 +228,9 @@
$(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
More information about the llvm-commits
mailing list