projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d346b2e
)
Hide more make rules when cleaning
author
Ian Lynagh
<igloo@earth.li>
Sat, 16 May 2009 11:45:11 +0000
(11:45 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 16 May 2009 11:45:11 +0000
(11:45 +0000)
rts/ghc.mk
patch
|
blob
|
history
diff --git
a/rts/ghc.mk
b/rts/ghc.mk
index
0e7650e
..
c22c862
100644
(file)
--- a/
rts/ghc.mk
+++ b/
rts/ghc.mk
@@
-85,6
+85,8
@@
define cmm-suffix-rules
# .cmm files depend on all the .h files, to a first approximation.
+ifneq "$$(CLEANING)" "YES"
+
ifneq "$$(BootingFromHc)" "YES"
$1/$2/build/%.$$($3_way_)o : $1/%.cmm $$(rts_H_FILES) $$($1_$2_HC)
@@
-113,6
+115,8
@@
$1/$2/build/%.$$($3_way_)o : $1/%.hc
$1/$2/build/%.$$($3_way_)o : $1/$2/build/%.hc
$$(CC) $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
+endif
+
endef