From f83994ec376625591ce33861354030f3d7eb71f3 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 1 Jun 2013 19:16:56 +0100 Subject: Add a comment --- rules/build-dependencies.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rules') 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 / ; \ -- cgit v1.2.1