projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include package.mk in target.mk, in the bindists's mk/
[ghc-hetmet.git]
/
includes
/
Makefile
diff --git
a/includes/Makefile
b/includes/Makefile
index
2acf075
..
32ab5f8
100644
(file)
--- 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 += -DTABLES_NEXT_TO_CODE
endif
+SRC_CC_OPTS += -I. -I../rts
ifeq "$(HaveLibGmp)" "YES"
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
else
-SRC_CC_OPTS += -I. -I../rts -I../gmp/gmpbuild
+SRC_CC_OPTS += -I../gmp/gmpbuild
endif
ifneq "$(GhcWithSMP)" "YES"
endif
ifneq "$(GhcWithSMP)" "YES"