From bf040a9fd94b84518931b2d9fca362ac1741631b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 16 May 2009 11:45:11 +0000 Subject: [PATCH] Hide more make rules when cleaning --- rts/ghc.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rts/ghc.mk b/rts/ghc.mk index 0e7650e..c22c862 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 -- 1.7.10.4