From cf76e59375a1b7acfd570fcdb39a7ce9b6d95f09 Mon Sep 17 00:00:00 2001 From: sof Date: Sat, 5 Jul 1997 03:06:58 +0000 Subject: [PATCH] [project @ 1997-07-05 03:06:58 by sof] Only include LoopHack when Ghc2_0=NO --- ghc/compiler/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 816be9b..4d76681 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -57,8 +57,11 @@ endif HS_SRCS = $(SRCS_UGNHS) \ $(foreach dir,$(DIRS),$(wildcard $(dir)/*.lhs)) \ - rename/ParseIface.hs rename/ParseType.hs rename/ParseUnfolding.hs \ - main/LoopHack.hc + rename/ParseIface.hs rename/ParseType.hs rename/ParseUnfolding.hs + +ifneq "$(Ghc2_0)" "YES" +HS_SRCS += main/LoopHack.hc +endif # NB: it's no good to include *.hs in the top-line wildcard, because the .hs files # in parser/ may not have been created at that point. -- 1.7.10.4