Bootstrapping fix
authorIan Lynagh <igloo@earth.li>
Mon, 4 May 2009 14:26:05 +0000 (14:26 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 4 May 2009 14:26:05 +0000 (14:26 +0000)
rules/hs-suffix-rules-srcdir.mk

index a75068b..30dd6c5 100644 (file)
@@ -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