summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsof <unknown>2002-02-12 05:01:26 +0000
committersof <unknown>2002-02-12 05:01:26 +0000
commitccaf705775714bc5a8ffc9ea4f68fffcbf1e5b7c (patch)
treed0ad9fa36a4345fbe8164c82366ceb37f718f71c
parent45e237c146553151ffa35e0a12229b1d1733d319 (diff)
downloadhaskell-ccaf705775714bc5a8ffc9ea4f68fffcbf1e5b7c.tar.gz
[project @ 2002-02-12 05:01:26 by sof]
bring stuff in parallel/ into scope when running 'mkdependC'
-rw-r--r--ghc/rts/Makefile9
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)