From d9c3fa92eb2151d05e3766705d6ceaea12a897b2 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 27 Jan 2005 11:29:03 +0000 Subject: [PATCH] [project @ 2005-01-27 11:29:03 by simonmar] Suppress .cmm suffix rules when $(BootingFromHc) --- ghc/rts/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 #----------------------------------------------------------------------------- # -- 1.7.10.4