X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsuffix.mk;h=b53280ac05498e1bdc011ff9f8010f48d2a03ea6;hb=f13895fc3b7a38c909ee0d2d7c1de24381858024;hp=2714c34077cc1a636d47e07bb5e1512ae9a2afd4;hpb=a9592dbff339167f42ac8d1d0a6a288172e0d831;p=ghc-hetmet.git diff --git a/mk/suffix.mk b/mk/suffix.mk index 2714c34..b53280a 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -22,6 +22,10 @@ .DELETE_ON_ERROR: +# This line prevents GNU make from deleting any intermediate targets: + +.SECONDARY: + #----------------------------------------------------------------------------- # Haskell Suffix Rules @@ -131,8 +135,6 @@ endif # BootingFromHc #----------------------------------------------------------------------------- # Happy Suffix Rules # -.SECONDARY: %.hs - %.hs : %.ly $(HAPPY) $(HAPPY_OPTS) $< @@ -156,18 +158,9 @@ ifneq "$(BootingFromHc)" "YES" endif #----------------------------------------------------------------------------- -# Lx Suffix Rules -# - -%.hs : %.lx - $(LX) $(LX_OPTS) $< - -#----------------------------------------------------------------------------- # Green-card Suffix Rules # -.PRECIOUS: %.gc - %.hs %_stub_ffi.c %_stub_ffi.h : %.gc $(GREENCARD) $(GC_OPTS) $<