From 7c948a00f566e23b187044a0e5cf07255e478146 Mon Sep 17 00:00:00 2001 From: sof Date: Sun, 18 May 1997 04:27:38 +0000 Subject: [PATCH] [project @ 1997-05-18 04:27:38 by sof] HIBOOT_WAYS defined --- ghc/lib/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ghc/lib/Makefile b/ghc/lib/Makefile index 35ae3b4..b6fe350 100644 --- a/ghc/lib/Makefile +++ b/ghc/lib/Makefile @@ -4,7 +4,7 @@ # # Makefile for building the GHC Prelude libraries umpteen ways # -# $Id: Makefile,v 1.8 1997/03/25 21:21:56 sof Exp $ +# $Id: Makefile,v 1.9 1997/05/18 04:27:38 sof Exp $ # # ################################################################################# @@ -84,8 +84,14 @@ SRC_MKDEPENDHS_OPTS += -ighc:required:glaExts:concurrent -I$(GHC_INCLUDE_DIR) HIBOOTS=GHC Main IOBase +# Use variable to control this, so that we can generate +# new boot interface files for new ways without having +# to re-generate the old lot (followed by complete recompile). +# +HIBOOT_WAYS = norm $(WAYS) + hi-boot : - @for i in norm $(WAYS); do \ + @for i in $(HIBOOT_WAYS); do \ echo "Booting interface files for way $$i "; \ if [ "$$i" != "norm" ]; then \ j="$${i}_hi"; \ -- 1.7.10.4