summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-16 11:45:11 +0000
committerIan Lynagh <igloo@earth.li>2009-05-16 11:45:11 +0000
commitbf040a9fd94b84518931b2d9fca362ac1741631b (patch)
tree95713621d3ab40404213435fbbf150c9038e954a /rts
parentd346b2e9f580c872305a4619a28a9536f8ba8082 (diff)
downloadhaskell-bf040a9fd94b84518931b2d9fca362ac1741631b.tar.gz
Hide more make rules when cleaning
Diffstat (limited to 'rts')
-rw-r--r--rts/ghc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 0e7650eca5..c22c8620e1 100644
--- 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