[project @ 1997-07-05 03:06:58 by sof]
authorsof <unknown>
Sat, 5 Jul 1997 03:06:58 +0000 (03:06 +0000)
committersof <unknown>
Sat, 5 Jul 1997 03:06:58 +0000 (03:06 +0000)
Only include LoopHack when Ghc2_0=NO

ghc/compiler/Makefile

index 816be9b..4d76681 100644 (file)
@@ -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.