From 9ee0e57c72a4206d95518e90e2abb4b90dbd513b Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 24 Jul 2003 13:53:20 +0000 Subject: [PATCH] [project @ 2003-07-24 13:53:20 by simonmar] Make pre-processing primops.txt from this directory work properly. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 07878dd..7ed06cb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.45 2003/07/24 12:19:57 ralf Exp $ +# $Id: Makefile,v 1.46 2003/07/24 13:53:20 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -58,6 +58,10 @@ SRC_HC_OPTS += -funbox-strict-fields # ----------------------------------------------------------------------------- # PrimOpWrappers +# These two lines are required for pre-processing ghc/compiler/prelude/primops.txt +SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR) +SRC_CPP_OPTS += ${GhcCppOpts} + ifeq "$(BootingFromHc)" "YES" GHC/PrimopWrappers.hs: touch GHC/PrimopWrappers.hs -- 1.7.10.4