Commit 7a80ff0b authored by qrczak's avatar qrczak
Browse files

[project @ 2001-01-12 18:49:25 by qrczak]

Use $(CC) instead of ghc-inplace as C compiler in hsc2hs-inplace.
(Generally ghc is used here to obtain include dirs.)
parent 99d658e8
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.3 2000/12/22 19:51:09 qrczak Exp $
# $Id: Makefile,v 1.4 2001/01/12 18:49:25 qrczak Exp $
TOP=../..
include $(TOP)/mk/boilerplate.mk
CURRENT_DIR=ghc/utils/hsc2hs
INCLUDE_DIR=ghc/includes
INSTALLING=1
......@@ -32,7 +33,7 @@ HSC2HS_EXTRA=--cc=$(bindir)/ghc-$(ProjectVersion)
endif # BIN_DIST
else
HSC2HS_DIR=$(FPTOOLS_TOP_ABS)/$(CURRENT_DIR)
HSC2HS_EXTRA=--cc=$(FPTOOLS_TOP_ABS)/$(CURRENT_DIR)/$(GHC_INPLACE)
HSC2HS_EXTRA="--cc=$(CC) -I$(FPTOOLS_TOP_ABS)/$(INCLUDE_DIR)"
endif
$(SCRIPT_PROG) : Makefile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment