From b7cda987f871d8c68b20df1047e1cb8a4dd0d349 Mon Sep 17 00:00:00 2001 From: sewardj <unknown> Date: Fri, 27 Oct 2000 09:17:20 +0000 Subject: [PATCH] [project @ 2000-10-27 09:17:20 by sewardj] Don't link happy-generated objects twice. --- ghc/compiler/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index ddc4032983e0..5023e98c843f 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.95 2000/10/12 12:31:11 sewardj Exp $ +# $Id: Makefile,v 1.96 2000/10/27 09:17:20 sewardj Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -26,6 +26,7 @@ endif # ----------------------------------------------------------------------------- # Create compiler configuration +CURRENT_DIR=ghc/compiler CONFIG_HS = main/Config.hs boot :: $(CONFIG_HS) @@ -106,9 +107,10 @@ endif HS_SRCS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.lhs) $(wildcard $(dir)/*.hs)) -ifneq "$(GhcWithHscBuiltViaC)" "YES" -HS_SRCS += rename/ParseIface.hs parser/Parser.hs -endif +# ToDo: not clear why this is here -- messes up linking +#ifneq "$(GhcWithHscBuiltViaC)" "YES" +#HS_SRCS += rename/ParseIface.hs parser/Parser.hs +#endif HCS = $(patsubst %.lhs, %.hc, $(patsubst %.hs, %.hc, $(HS_SRCS))) -- GitLab