X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=d9a5db56b1f7ef94c1e98d4e4d185e9e132a770b;hb=5acd2909936a1e56db8386ebccf66e0347012ad6;hp=f3e1a50ef6a15f7e7dc8e7b901aa7a0993b94c93;hpb=5251afef4b87cace5160159fd2c699c194174745;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index f3e1a50..d9a5db5 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.41 2000/11/14 10:56:08 simonmar Exp $ +# $Id: Makefile,v 1.42 2000/12/31 16:58:05 panne Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -62,6 +62,11 @@ WARNING_OPTS += -optc-Wbad-function-cast SRC_HC_OPTS += -I../includes -I. -Iparallel $(WARNING_OPTS) $(GhcRtsHcOpts) -optc-DCOMPILING_RTS SRC_CC_OPTS = $(GhcRtsCcOpts) +ifeq "$(GhcWithInterpreter)" "YES" +SRC_HC_OPTS += -optc-DGHCI +SRC_CC_OPTS += -DGHCI +endif + ifneq "$(DLLized)" "YES" SRC_HC_OPTS += -static endif