From 2e04f72efc9bb6ad1a8affa95a7dc1ca29074b53 Mon Sep 17 00:00:00 2001 From: ken Date: Mon, 23 Jul 2001 23:27:50 +0000 Subject: [PATCH] [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. --- ghc/rts/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.10.4