From 4271e3a2d9a1fbe24ea1fb6c3f2287968ad08d52 Mon Sep 17 00:00:00 2001 From: qrczak Date: Wed, 15 Aug 2001 18:31:57 +0000 Subject: [PATCH] [project @ 2001-08-15 18:31:57 by qrczak] Fix HS_SRCS. --- ghc/compiler/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index b229639..f0ab704 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.187 2001/08/15 14:36:21 rrt Exp $ +# $Id: Makefile,v 1.188 2001/08/15 18:31:57 qrczak Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -128,15 +128,15 @@ DIRS += ghci endif endif +HS_SRCS := $(foreach dir,$(DIRS),$(wildcard $(dir)/*.lhs) $(wildcard $(dir)/*.hs)) +HS_SRCS := $(filter-out rename/ParseIface.hs parser/Parser.hs main/ParsePkgConf.hs $(CONFIG_HS), $(HS_SRCS)) +HS_SRCS += $(CONFIG_HS) + # Enable code that assumes a MSDOSish subshell. See mk/config.mk.in # for explanatory comment as to what this does. ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" ghc_501_at_least = $(shell if (test $(CANON_HC_VERSION) -ge 5010); then echo YES; else echo NO; fi) -HS_SRCS := $(foreach dir,$(DIRS),$(wildcard $(dir)/*.lhs) $(wildcard $(dir)/*.hs)) -HS_SRCS := $(filter-out rename/ParseIface.hs parser/Parser.hs main/ParsePkgConf.hs $(CONFIG_HS), $(HS_SRCS)) -HS_SRCS += $(CONFIG_HS) - # ----------------------------------------------- # GHCi calls the C procedure 'rawSystem'; but alas GHC 4.08 # does not have this. Everything is fine if you are compiling -- 1.7.10.4