Commit 5ece0e43 authored by simonmar's avatar simonmar
Browse files

[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.
parent bfb87645
......@@ -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) $<
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment