diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-12-01 23:35:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-12-01 23:35:49 +0000 |
commit | a6fd8452b557b9bc8350d343da2bea2b0b5dc28a (patch) | |
tree | cad0bbece1c587f5ff6c86dcbd83fb585443c2f3 /Makefile | |
parent | c1ef2a0b8022f200f8bbb36641df866c4369876d (diff) | |
download | compiler-rt-a6fd8452b557b9bc8350d343da2bea2b0b5dc28a.tar.gz |
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-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |