diff options
author | Ian Lynagh <igloo@earth.li> | 2009-05-16 11:45:11 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-05-16 11:45:11 +0000 |
commit | bf040a9fd94b84518931b2d9fca362ac1741631b (patch) | |
tree | 95713621d3ab40404213435fbbf150c9038e954a /rts | |
parent | d346b2e9f580c872305a4619a28a9536f8ba8082 (diff) | |
download | haskell-bf040a9fd94b84518931b2d9fca362ac1741631b.tar.gz |
Hide more make rules when cleaning
Diffstat (limited to 'rts')
-rw-r--r-- | rts/ghc.mk | 4 |
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 |