summaryrefslogtreecommitdiff
path: root/rules/c-suffix-rules.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-05-01 09:56:27 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-05-01 09:56:27 +0000
commit397a885c7bfb240735d71345cf72301445247ee9 (patch)
tree8f34ff16e5ced3865a85419f8ecaae81027823ba /rules/c-suffix-rules.mk
parentc8d82c87a583e82476cff5643cc4d9919b9c083f (diff)
downloadhaskell-397a885c7bfb240735d71345cf72301445247ee9.tar.gz
add a .c --> .s rule
Diffstat (limited to 'rules/c-suffix-rules.mk')
-rw-r--r--rules/c-suffix-rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/c-suffix-rules.mk b/rules/c-suffix-rules.mk
index 089ff46a04..5134b6ab28 100644
--- a/rules/c-suffix-rules.mk
+++ b/rules/c-suffix-rules.mk
@@ -42,6 +42,10 @@ $1/$2/build/%.$$($3_way_)s : $1/$2/build/%.c $$($1_$2_HC_DEP)
$$(RM) $$@
$$($1_$2_HC) $$($1_$2_$3_GHC_CC_OPTS) -S $$< -o $$@
+$1/$2/build/%.$$($3_way_)s : $1/%.c $$($1_$2_HC_DEP)
+ $$(RM) $$@
+ $$($1_$2_HC) $$($1_$2_$3_GHC_CC_OPTS) -S $$< -o $$@
+
else
$1/$2/build/%.$$($3_osuf) : $1/%.c $$(MKDIRHIER)