From: simonmar Date: Thu, 27 Jan 2005 11:29:03 +0000 (+0000) Subject: [project @ 2005-01-27 11:29:03 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1181 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d9c3fa92eb2151d05e3766705d6ceaea12a897b2 [project @ 2005-01-27 11:29:03 by simonmar] Suppress .cmm suffix rules when $(BootingFromHc) --- diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index f458aa3..73ba68f 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -323,6 +323,7 @@ SRC_HC_OPTS += -fvia-C # We *want* type-checking of hand-written cmm. SRC_HC_OPTS += -dcmm-lint +ifneq "$(BootingFromHc)" "YES" # .cmm files depend on all the .h files, to a first approximation. %.$(way_)o : %.cmm $(H_FILES) $(HC_PRE_OPTS) @@ -338,6 +339,7 @@ SRC_HC_OPTS += -dcmm-lint $(HC_PRE_OPTS) $(HC) $(HC_OPTS) -S $< -o $@ $(HC_POST_OPTS) +endif #----------------------------------------------------------------------------- #