summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-10 23:27:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-10 23:27:45 +0000
commitdc114bf3e390f5bcca5cbe46e4577d4cb32dbfc5 (patch)
tree8781048698b272cc1c9e1563c121ff77a0228b9c /Makefile
parentfd17b8a32c45a43ae95d1c3d5312adccb7264955 (diff)
Unbreak building of assembly files (broken by my .s -> .S rename).
- Noticed & patched by Nick Kledzik. - This may expose portability issues in the .S files, if so we should either disable them on non-Darwin, or even better make them portable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 08a510420..ab1850a12 100644
--- a/Makefile
+++ b/Makefile
@@ -153,6 +153,11 @@ $(ActiveObjPath)/%.o: $(ActiveSrcPath)/%.s $(Dependencies) $(ActiveObjPath)/.dir
$(Verb) $(CC) -c -o $$@ $(ActiveFlags) $$<
.PRECIOUS: $(ActiveObjPath)/.dir
+$(ActiveObjPath)/%.o: $(ActiveSrcPath)/%.S $(Dependencies) $(ActiveObjPath)/.dir
+ $(Summary) " ASSEMBLE: $(ActiveConfig)/$(ActiveArch): $$<"
+ $(Verb) $(CC) -c -o $$@ $(ActiveFlags) $$<
+.PRECIOUS: $(ActiveObjPath)/.dir
+
$(ActiveObjPath)/%.o: $(ActiveSrcPath)/%.c $(Dependencies) $(ActiveObjPath)/.dir
$(Summary) " COMPILE: $(ActiveConfig)/$(ActiveArch): $$<"
$(Verb) $(CC) -c -o $$@ $(ActiveFlags) $$<