From: sof Date: Thu, 16 Apr 1998 12:35:35 +0000 (+0000) Subject: [project @ 1998-04-16 12:35:35 by sof] X-Git-Tag: Approx_2487_patches~789 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=9dcea31172131deb1b086bdc28510695867678af;p=ghc-hetmet.git [project @ 1998-04-16 12:35:35 by sof] When booting from .hc files, turn off %.hc: %.l?hs suffix rules too --- diff --git a/ghc/mk/target.mk b/ghc/mk/target.mk index 1865b19..10ebf94 100644 --- a/ghc/mk/target.mk +++ b/ghc/mk/target.mk @@ -10,9 +10,13 @@ TOP:=$(TOP)/.. # When booting from .hc files, remove the suffix rule for # .l?hs -> .o, so that the .hc -> .o is used instead. +# Also disable the generation of the .hc files, even if +# the .l?hs files are newer than the .hc ones. ifeq "$(GhcWithHscBuiltViaC)" "YES" -%.$(way_)o : %.lhs -%.$(way_)o : %.hs +%.$(way_)o : %.lhs +%.$(way_)o : %.hs +%.$(way_)hc : %.lhs +%.$(way_)hc : %.hs endif include $(TOP)/mk/target.mk