From 57df281fe0077e0ae398def98c1255f354aefd73 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 8 Dec 1999 11:21:39 +0000 Subject: [PATCH] [project @ 1999-12-08 11:21:39 by simonmar] Fix bogon in rule for parser/hschooks.c --- ghc/compiler/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 31e88f8..3abda45 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.66 1999/11/24 10:03:32 simonmar Exp $ +# $Id: Makefile,v 1.67 1999/12/08 11:21:39 simonmar Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -8,13 +8,6 @@ include $(TOP)/mk/boilerplate.mk # Building hsc different ways (default is just `normal' sequential) WAYS=$(GhcCompilerWays) -#----------------------------------------------------------------------------- -# Set SUBDIRS - -ifeq ($(IncludeTestDirsInBuild),YES) - SUBDIRS = tests -endif - # ----------------------------------------------------------------------------- # Set HS_PROG, LIBRARY @@ -102,7 +95,7 @@ SRC_MKDEPENDC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt) ifneq "$(GhcWithHscBuiltViaC)" "YES" HC=$(WithGhcHc) else -HC=$(GHC) +HC=$(GHC_INPLACE) endif # magic from GNU make manual to convert a list of values @@ -231,7 +224,7 @@ SRC_C_OPTS += -O -I. -IcodeGen parser/hschooks.o : parser/hschooks.c @$(RM) $@ - $(HC) -c -o $@ -I$(GHC_INCLUDE_DIR) $(HC_OPTS) parser/hschooks.c + $(HC) -c -o $@ $(HC_OPTS) parser/hschooks.c # Interface-file parser uses Happy -- 1.7.10.4