X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FMakefile;h=132c07cd1996cf3732d8fb2b8adc1b2360d02612;hb=26961bb3e3290dac46c8b4c6f517adc7b983dd27;hp=12d384a66a871ee9c869d2df27129dc386787073;hpb=4f29261602abf03416181dba04f5d83752940d55;p=ghc-hetmet.git diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile index 12d384a..132c07c 100644 --- a/ghc/includes/Makefile +++ b/ghc/includes/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.19 2002/02/11 13:59:01 simonmar Exp $ +# $Id: Makefile,v 1.20 2002/03/02 17:49:42 sof Exp $ # TOP = .. @@ -11,6 +11,13 @@ 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 +# +ifeq "$(GhcUnregisterised)" "YES" +SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER +endif + +# # Header file built from the configure script's findings # H_CONFIG = config.h