projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2004-11-11 13:08:59 by simonmar]
[ghc-hetmet.git]
/
ghc
/
utils
/
runghc
/
Makefile
diff --git
a/ghc/utils/runghc/Makefile
b/ghc/utils/runghc/Makefile
index
5792902
..
d6fc169
100644
(file)
--- a/
ghc/utils/runghc/Makefile
+++ b/
ghc/utils/runghc/Makefile
@@
-4,4
+4,10
@@
include $(TOP)/mk/boilerplate.mk
HS_PROG = runghc
INSTALL_PROGS += $(HS_PROG)
+UseGhcForCc = YES
+SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
+
+SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR)
+SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat
+
include $(TOP)/mk/target.mk