From 3436a37c72644f82471a7d8c684d67438b86cc3a Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Sun, 27 Jul 1997 09:27:45 +0000
Subject: [PATCH] [project @ 1997-07-27 09:27:45 by sof] Have the generation of
 multiple way interface files for GHC.hi-boot be done as part of boot target

---
 ghc/lib/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ghc/lib/Makefile b/ghc/lib/Makefile
index ea0a08c43131..9dc463556903 100644
--- a/ghc/lib/Makefile
+++ b/ghc/lib/Makefile
@@ -77,10 +77,10 @@ SRC_MKDEPENDHS_OPTS += -ighc:required:glaExts:concurrent -I$(GHC_INCLUDE_DIR)
 #-----------------------------------------------------------------------------
 # 	Rules
 
-GHC.$(way_)hi	: GHC.hi-boot
-	cp GHC.hi-boot GHC.$(way_)hi
-
+ghc/GHC.$(way_)hi	: ghc/GHC.hi-boot
+	cp $< $@
 
+boot :: ghc/GHC.hi $(foreach way, $(WAYS), ghc/GHC.$(way)_hi)
 
 #-----------------------------------------------------------------------------
 # 	Installation; need to install .hi files as well as libraries
-- 
GitLab