X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsuffix.mk;h=276c0c02f0213d12a01a7a716f253940448650af;hb=4db2c92cedd11b90c6cec46c245b3b618f734d49;hp=f45682ffb98d626f3ee8e3c5482fec3bacb21769;hpb=9f0cc7140e7655240b97eac0e105e77a34f07d84;p=ghc-hetmet.git diff --git a/mk/suffix.mk b/mk/suffix.mk index f45682f..276c0c0 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -22,15 +22,11 @@ .DELETE_ON_ERROR: -# This line prevents GNU make from deleting any intermediate targets: - -.SECONDARY: - #----------------------------------------------------------------------------- # Haskell Suffix Rules # The $(odir) support is for building GHC, where we need to build three -# different versions from the same sources. See ghc/compiler/Makefile. +# different versions from the same sources. See compiler/Makefile. ifneq "$(odir)" "" odir_ = $(odir)/ else @@ -169,7 +165,7 @@ endif # BootingFromHc # ifneq "$(BootingFromHc)" "YES" %_hsc.c %_hsc.h %.hs : %.hsc - $(HSC2HS) $(HSC2HS_OPTS) $< + $(HSC2HS_INPLACE) $(HSC2HS_OPTS) $< @touch $(patsubst %.hsc,%_hsc.c,$<) endif