[project @ 2005-02-01 00:52:20 by ross]
[ghc-base.git] / cbits / Makefile
index dd6a6ae..b1bbba6 100644 (file)
@@ -1,10 +1,13 @@
-# $Id: Makefile,v 1.9 2003/10/20 13:16:58 simonmar Exp $
+# $Id: Makefile,v 1.14 2005/02/01 00:52:22 ross Exp $
 
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
+-include ../config.mk
 
 HC = $(GHC_INPLACE)
 
+UseGhcForCc = YES
+
 # If there is no system-supplied POSIX regex library, use our own
 ifneq "$(HavePosixRegex)" "YES"
 ALL_DIRS      += regex
@@ -12,8 +15,6 @@ SRC_CC_OPTS   += -Iregex
 EXCLUDED_SRCS += regex/engine.c
 endif
 
-EXCLUDED_SRCS += ilxstubs.c
-
 ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 EXCLUDED_SRCS += consUtils.c
 endif