diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-03-03 18:49:23 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-03-03 19:56:49 +0000 |
commit | 1da6975add0b333027f2b643933a4b60f0f66095 (patch) | |
tree | b0fb41e1be3d37acec65c2920e7555df804817d8 /rules/hs-suffix-rules-srcdir.mk | |
parent | 5d0801dac3503c242e874eb6334245943b2e7908 (diff) | |
download | haskell-1da6975add0b333027f2b643933a4b60f0f66095.tar.gz |
Define $(prog)_INPLACE variables automatically, and start using them
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
-rw-r--r-- | rules/hs-suffix-rules-srcdir.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk index 8ed72af3be..d3c932f241 100644 --- a/rules/hs-suffix-rules-srcdir.mk +++ b/rules/hs-suffix-rules-srcdir.mk @@ -33,8 +33,8 @@ $1/$2/build/%.hs : $1/$2/build/%.y | $$$$(dir $$$$@)/. $1/$2/build/%.hs : $1/$3/%.x | $$$$(dir $$$$@)/. $$(call cmd,ALEX) $$($1_$2_ALL_ALEX_OPTS) $$< -o $$@ -$1/$2/build/%_hsc.c $1/$2/build/%_hsc.h $1/$2/build/%.hs : $1/$3/%.hsc $$(HSC2HS_INPLACE) | $$$$(dir $$$$@)/. - $$(call cmd,HSC2HS_INPLACE) $$($1_$2_ALL_HSC2HS_OPTS) $$< -o $$@ +$1/$2/build/%_hsc.c $1/$2/build/%_hsc.h $1/$2/build/%.hs : $1/$3/%.hsc $$$$(hsc2hs_INPLACE) | $$$$(dir $$$$@)/. + $$(call cmd,hsc2hs_INPLACE) $$($1_$2_ALL_HSC2HS_OPTS) $$< -o $$@ # Now the rules for hs-boot files. |