From 5ece0e434ef1df867feb1c0799a3861c67ee845f Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 8 Dec 2004 09:28:57 +0000 Subject: [PATCH] [project @ 2004-12-08 09:28:57 by simonmar] Prevent any intermediate file deletion using .SECONDARY: and remove now-unnecessary .PRECIOUS and .SECONDARY targets. Suggestion from Ashley Yakeley. --- mk/suffix.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mk/suffix.mk b/mk/suffix.mk index 5ac15fb..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) $< @@ -159,8 +161,6 @@ endif # Green-card Suffix Rules # -.PRECIOUS: %.gc - %.hs %_stub_ffi.c %_stub_ffi.h : %.gc $(GREENCARD) $(GC_OPTS) $< -- 1.7.10.4