X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fmk%2Ftarget.mk;h=10ebf94187cc0b947b9d31840d5b70b28a1ef5ec;hb=b05ac8a6f998ddb32e6d846d12ebc10880e4023f;hp=1865b19e8539ba60b082c139aadd010016d78681;hpb=1f245487c2bf0c3dd76598cb4cf992577c3e1536;p=ghc-hetmet.git 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