From: sof Date: Sat, 5 Jul 1997 03:06:58 +0000 (+0000) Subject: [project @ 1997-07-05 03:06:58 by sof] X-Git-Tag: Approximately_1000_patches_recorded~255 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cf76e59375a1b7acfd570fcdb39a7ce9b6d95f09;p=ghc-hetmet.git [project @ 1997-07-05 03:06:58 by sof] Only include LoopHack when Ghc2_0=NO --- 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.