From: ken Date: Mon, 23 Jul 2001 23:27:50 +0000 (+0000) Subject: [project @ 2001-07-23 23:27:50 by ken] X-Git-Tag: Approximately_9120_patches~1457 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2e04f72efc9bb6ad1a8affa95a7dc1ca29074b53;p=ghc-hetmet.git [project @ 2001-07-23 23:27:50 by ken] - Added recommended gcc warning flag: -Wcast-align - Fixed: "make distclean" would run in the gmp subdirectory multiple times, once for each way. The second time, the Makefile in there is gone, causing an error. --- diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 5c8d651..07707e5 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.53 2001/07/23 21:31:00 sof Exp $ +# $Id: Makefile,v 1.54 2001/07/23 23:27:50 ken Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -51,7 +51,7 @@ WARNING_OPTS += -Winline WARNING_OPTS += -Waggregate-return #WARNING_OPTS += -Wpointer-arith WARNING_OPTS += -Wbad-function-cast -#WARNING_OPTS += -Wcast-align +WARNING_OPTS += -Wcast-align #WARNING_OPTS += -Wnested-externs #WARNING_OPTS += -Wshadow #WARNING_OPTS += -Wcast-qual @@ -175,10 +175,10 @@ endif install :: gmp/libgmp.a +ifeq "$(way)" "" clean distclean maintainer-clean :: - $(MAKE) -C gmp MAKEFLAGS= $@ + -$(MAKE) -C gmp MAKEFLAGS= $@ -ifeq "$(way)" "" INSTALL_LIBS += gmp/libgmp.a endif