2a1de5c755857747215d4048c14cc0da3f46e4a2
[ghc-hetmet.git] / ghc / utils / runghc / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3
4 HS_PROG         = runghc
5 INSTALL_PROGS   += $(HS_PROG)
6
7 UseGhcForCc = YES
8 SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
9
10 SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR)
11 SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat
12
13 # This is required because libghccompat.a must be built with
14 # $(GhcHcOpts) because it is linked to the compiler, and hence
15 # we must also build with $(GhcHcOpts) here:
16 SRC_HC_OPTS += $(GhcHcOpts)
17
18 include $(TOP)/mk/target.mk