From: simonmar Date: Tue, 24 Apr 2001 15:03:37 +0000 (+0000) Subject: [project @ 2001-04-24 15:03:37 by simonmar] X-Git-Tag: Approximately_9120_patches~2108 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a4b8fbfcd755b1c266d2d17103f1dca8fc36bc81;p=ghc-hetmet.git [project @ 2001-04-24 15:03:37 by simonmar] - hc bootstraping fixes - distclean & maintainer-clean should descend into gmp. --- diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 317fa8f..6565340 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.46 2001/04/04 14:31:30 rrt Exp $ +# $Id: Makefile,v 1.47 2001/04/24 15:03:37 simonmar Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -104,8 +104,7 @@ SRC_MKDEPENDC_OPTS += -I. -I../includes ifeq "$(BootingFromHc)" "YES" # use the normal $(CC) when booting from .hc files -SRC_CC_OPTS := $(SRC_CC_OPTS) -SRC_CC_OPTS += $(PLATFORM_CC_OPTS) $(HC_OPTS) +SRC_CC_OPTS += $(HC_OPTS) else # otherwise, use $(GHC_INPLACE) as the C compiler. CC=$(GHC_INPLACE) @@ -173,8 +172,8 @@ endif install :: gmp/libgmp.a -clean :: - $(MAKE) -C gmp MAKEFLAGS= clean +clean distclean maintainer-clean :: + $(MAKE) -C gmp MAKEFLAGS= $@ ifeq "$(way)" "" INSTALL_LIBS += gmp/libgmp.a