[project @ 1997-07-27 09:27:45 by sof]
authorsof <unknown>
Sun, 27 Jul 1997 09:27:45 +0000 (09:27 +0000)
committersof <unknown>
Sun, 27 Jul 1997 09:27:45 +0000 (09:27 +0000)
Have the generation of multiple way interface files for GHC.hi-boot be done as part of boot target

ghc/lib/Makefile

index ea0a08c..9dc4635 100644 (file)
@@ -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