X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FMakefile;h=32ab5f8c49099435cb21267032edd23cd7ad0438;hb=1c3d4480c8751665e71e344b71a844ca4191acc5;hp=2acf07531eeff753ca2923bfd11e658d57e37500;hpb=24311993dfecd6225fb3b26c07d2d054fab5387a;p=ghc-hetmet.git diff --git a/includes/Makefile b/includes/Makefile index 2acf075..32ab5f8 100644 --- a/includes/Makefile +++ b/includes/Makefile @@ -27,10 +27,13 @@ ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO" SRC_CC_OPTS += -DTABLES_NEXT_TO_CODE endif +SRC_CC_OPTS += -I. -I../rts ifeq "$(HaveLibGmp)" "YES" -SRC_CC_OPTS += -I. -I../rts -I$(GMP_INCLUDE_DIRS) +ifneq "$(GMP_INCLUDE_DIRS)" "" +SRC_CC_OPTS += -I$(GMP_INCLUDE_DIRS) +endif else -SRC_CC_OPTS += -I. -I../rts -I../gmp/gmpbuild +SRC_CC_OPTS += -I../gmp/gmpbuild endif ifneq "$(GhcWithSMP)" "YES"