projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-01-10 11:45:19 by simonmar]
[ghc-hetmet.git]
/
mk
/
suffix.mk
diff --git
a/mk/suffix.mk
b/mk/suffix.mk
index
2714c34
..
b53280a
100644
(file)
--- a/
mk/suffix.mk
+++ b/
mk/suffix.mk
@@
-22,6
+22,10
@@
.DELETE_ON_ERROR:
.DELETE_ON_ERROR:
+# This line prevents GNU make from deleting any intermediate targets:
+
+.SECONDARY:
+
#-----------------------------------------------------------------------------
# Haskell Suffix Rules
#-----------------------------------------------------------------------------
# Haskell Suffix Rules
@@
-131,8
+135,6
@@
endif # BootingFromHc
#-----------------------------------------------------------------------------
# Happy Suffix Rules
#
#-----------------------------------------------------------------------------
# Happy Suffix Rules
#
-.SECONDARY: %.hs
-
%.hs : %.ly
$(HAPPY) $(HAPPY_OPTS) $<
%.hs : %.ly
$(HAPPY) $(HAPPY_OPTS) $<
@@
-156,18
+158,9
@@
ifneq "$(BootingFromHc)" "YES"
endif
#-----------------------------------------------------------------------------
endif
#-----------------------------------------------------------------------------
-# Lx Suffix Rules
-#
-
-%.hs : %.lx
- $(LX) $(LX_OPTS) $<
-
-#-----------------------------------------------------------------------------
# Green-card Suffix Rules
#
# Green-card Suffix Rules
#
-.PRECIOUS: %.gc
-
%.hs %_stub_ffi.c %_stub_ffi.h : %.gc
$(GREENCARD) $(GC_OPTS) $<
%.hs %_stub_ffi.c %_stub_ffi.h : %.gc
$(GREENCARD) $(GC_OPTS) $<