summaryrefslogtreecommitdiff
path: root/rules/hs-suffix-rules-srcdir.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-04 14:26:05 +0000
committerIan Lynagh <igloo@earth.li>2009-05-04 14:26:05 +0000
commita6e7bd8350cbc7e76eed8c070478ed013e16940a (patch)
tree115ca764ca2319c7777506019b2a213b162c57aa /rules/hs-suffix-rules-srcdir.mk
parentfdc0cd3d4ab693867f79d9c741c9387d66782c01 (diff)
downloadhaskell-a6e7bd8350cbc7e76eed8c070478ed013e16940a.tar.gz
Bootstrapping fix
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
-rw-r--r--rules/hs-suffix-rules-srcdir.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk
index a75068bf8f..30dd6c50eb 100644
--- a/rules/hs-suffix-rules-srcdir.mk
+++ b/rules/hs-suffix-rules-srcdir.mk
@@ -55,6 +55,7 @@ endif
# .hs->.o rule, I don't know why --SDM
$1/$2/build/%.$$($3_osuf) : $1/$4/%.hc includes/ghcautoconf.h includes/ghcplatform.h
+ $$(MKDIRHIER) $$(dir $$@)
$$(CC) $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
$1/$2/build/%.$$($3_osuf) : $1/$2/build/%.hc includes/ghcautoconf.h includes/ghcplatform.h