diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-06-01 19:16:56 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-06-01 19:16:56 +0100 |
commit | f83994ec376625591ce33861354030f3d7eb71f3 (patch) | |
tree | 176938076be183f0cd046f221e7f770fd9f52f89 /rules/build-dependencies.mk | |
parent | da345e4c2cc32f299f8131dfff2bb6de6bca2ee1 (diff) | |
download | haskell-f83994ec376625591ce33861354030f3d7eb71f3.tar.gz |
Add a comment
Diffstat (limited to 'rules/build-dependencies.mk')
-rw-r--r-- | rules/build-dependencies.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk index 02640bf1ab..12334260b1 100644 --- a/rules/build-dependencies.mk +++ b/rules/build-dependencies.mk @@ -49,6 +49,10 @@ endif # within the build tree. On Windows this causes a problem as they look # like bad rules, due to the two colons, so we filter them out. grep -v ' : [a-zA-Z]:/' $$@.tmp > $$@.tmp2 +# Insert the calls to hi-rule. Basically, we look for the +# Foo.dyn_o Foo.o : Foo.hs +# lines, and create corresponding hi-rule lines +# $(eval $(call hi-rule,Foo.dyn_hi Foo.hi : %hi: %o Foo.hs)) sed '/hs$$$$/ p ; \ /hs$$$$/ s/o /hi /g ; \ /hs$$$$/ s/:/ : %hi: %o / ; \ |