#-----------------------------------------------------------------------------
-# $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).
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