projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-07-21 11:06:22 by simonpj]
[ghc-hetmet.git]
/
ghc
/
mk
/
target.mk
diff --git
a/ghc/mk/target.mk
b/ghc/mk/target.mk
index
1865b19
..
10ebf94
100644
(file)
--- a/
ghc/mk/target.mk
+++ b/
ghc/mk/target.mk
@@
-10,9
+10,13
@@
TOP:=$(TOP)/..
# When booting from .hc files, remove the suffix rule for
# .l?hs -> .o, so that the .hc -> .o is used instead.
# When booting from .hc files, remove the suffix rule for
# .l?hs -> .o, so that the .hc -> .o is used instead.
+# Also disable the generation of the .hc files, even if
+# the .l?hs files are newer than the .hc ones.
ifeq "$(GhcWithHscBuiltViaC)" "YES"
ifeq "$(GhcWithHscBuiltViaC)" "YES"
-%.$(way_)o : %.lhs
-%.$(way_)o : %.hs
+%.$(way_)o : %.lhs
+%.$(way_)o : %.hs
+%.$(way_)hc : %.lhs
+%.$(way_)hc : %.hs
endif
include $(TOP)/mk/target.mk
endif
include $(TOP)/mk/target.mk