X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FMakefile;h=4e4a82b7a130186e257ad2938bb1e743e0ba6505;hb=7cb0ffcb5a7e6f6ae4cce2adf61b3a3e78bbd78c;hp=a181c2332333d9ac7a45b8abdb5c3a4fcdc7ca90;hpb=edad06244b0a542d6b5c9ce3f3cd72941c5be804;p=ghc-hetmet.git diff --git a/includes/Makefile b/includes/Makefile index a181c23..4e4a82b 100644 --- a/includes/Makefile +++ b/includes/Makefile @@ -9,12 +9,16 @@ include $(TOP)/mk/boilerplate.mk H_FILES = $(filter-out gmp.h,$(wildcard *.h)) gmp.h # -# Options -- if we're building unregisterised, add a couple of -D's +# Options # ifeq "$(GhcUnregisterised)" "YES" SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER endif +ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO" +SRC_CC_OPTS += -DTABLES_NEXT_TO_CODE +endif + SRC_CC_OPTS += -I. -I../rts ifneq "$(GhcWithSMP)" "YES"