[project @ 2004-12-08 09:28:57 by simonmar]
[ghc-hetmet.git] / mk / suffix.mk
index 5ac15fb..b53280a 100644 (file)
 
 .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) $<
 
@@ -159,8 +161,6 @@ endif
 # Green-card Suffix Rules
 #
 
-.PRECIOUS: %.gc
-
 %.hs %_stub_ffi.c %_stub_ffi.h : %.gc
        $(GREENCARD) $(GC_OPTS) $<