X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FMakefile;h=f769ca24ab4e547d548b01b22fd10492da478d4f;hb=c137ecd7e6e83d0f9c39b15ccdb9f2355f243c91;hp=cd2719d45bcbc5f473f816d03aa905d31e9d7211;hpb=97ab9c1b478fd2fef338d33b7e4d670873480d2b;p=ghc-hetmet.git diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile index cd2719d..f769ca2 100644 --- a/ghc/includes/Makefile +++ b/ghc/includes/Makefile @@ -15,6 +15,8 @@ ifeq "$(GhcUnregisterised)" "YES" SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER endif +SRC_CC_OPTS += -I. -I../rts + # # Header file built from the configure script's findings # @@ -140,7 +142,7 @@ mkGHCConstants : mkGHCConstants.o $(CC) -o $@ $(CC_OPTS) $(LD_OPTS) mkGHCConstants.o mkGHCConstants.o : mkDerivedConstants.c - $(CC) -o $@ -c $< -DGEN_HASKELL + $(CC) -o $@ $(CC_OPTS) -c $< -DGEN_HASKELL GHCConstants.h : mkGHCConstants ./mkGHCConstants >$@