summaryrefslogtreecommitdiff
path: root/rules/hs-suffix-rules-srcdir.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-16 18:30:20 +0000
committerIan Lynagh <igloo@earth.li>2009-05-16 18:30:20 +0000
commit81e5f8ff44ed5c734c9966ba0f3faf2d84c74577 (patch)
tree65f65c04ff17084e128cede35d377795be2f9d94 /rules/hs-suffix-rules-srcdir.mk
parentfc15f6e876f3b8202a1053f809253b39dc8a8923 (diff)
downloadhaskell-81e5f8ff44ed5c734c9966ba0f3faf2d84c74577.tar.gz
Bootstrapping fixes
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
-rw-r--r--rules/hs-suffix-rules-srcdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk
index 30dd6c50eb..4aa7b7eb2a 100644
--- a/rules/hs-suffix-rules-srcdir.mk
+++ b/rules/hs-suffix-rules-srcdir.mk
@@ -54,7 +54,7 @@ endif
# XXX: for some reason these get used in preference to the direct
# .hs->.o rule, I don't know why --SDM
-$1/$2/build/%.$$($3_osuf) : $1/$4/%.hc includes/ghcautoconf.h includes/ghcplatform.h
+$1/$2/build/%.$$($3_osuf) : $1/$4/%.hc includes/ghcautoconf.h includes/ghcplatform.h $$(MKDIRHIER)
$$(MKDIRHIER) $$(dir $$@)
$$(CC) $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@