diff options
-rw-r--r-- | ghc/rts/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index c8f21ce534..ac9d823f48 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.64 2002/02/07 10:20:05 simonmar Exp $ +# $Id: Makefile,v 1.65 2002/02/12 05:01:26 sof Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -77,13 +77,18 @@ WARNING_OPTS += -Wcast-align #WARNING_OPTS += -Wredundant-decls #WARNING_OPTS += -Wconversion +STANDARD_OPTS+=-I../includes -I. -Iparallel -DCOMPILING_RTS + # HC_OPTS is included in both .c and .hc compilations, whereas CC_OPTS is # only included in .c compilations. HC_OPTS included the WAY_* opts, which # must be included in both types of compilations. SRC_CC_OPTS += $(WARNING_OPTS) -SRC_HC_OPTS += -I../includes -I. -Iparallel -DCOMPILING_RTS +# Don't bother adding these to CC_OPTS; get them via HC_OPTS anyway. +SRC_MKDEPENDC_OPTS += $(STANDARD_OPTS) + +SRC_HC_OPTS += $(STANDARD_OPTS) SRC_CC_OPTS += $(GhcRtsCcOpts) SRC_HC_OPTS += $(GhcRtsHcOpts) |