X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Frunghc%2FMakefile;h=37e2a1db5f1718b31801533bea674b011ae43918;hb=f893fb935d23418b80534b05f35fe50d54af0acc;hp=f210b004f32d281d59025370b13ba56affe53107;hpb=1ee08bbe86b03ba74a9be309a84602b34e41cbb4;p=ghc-hetmet.git diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile index f210b00..37e2a1d 100644 --- a/utils/runghc/Makefile +++ b/utils/runghc/Makefile @@ -1,18 +1,7 @@ + TOP=../.. include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/cabal.mk -HS_PROG = runghc$(exeext) -INSTALL_PROGS += $(HS_PROG) - -UseGhcForCc = YES -SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) - -# This causes libghccompat.a to be used: -include $(GHC_COMPAT_DIR)/compat.mk - -# This is required because libghccompat.a must be built with -# $(GhcHcOpts) because it is linked to the compiler, and hence -# we must also build with $(GhcHcOpts) here: -SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts) +# XXX Need to make runhaskell somehow -include $(TOP)/mk/target.mk