From 2a9bec92edcc9257e83b2e0f8a0ae56d5f4697bb Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 2 Jan 2002 15:13:23 +0000 Subject: [PATCH] [project @ 2002-01-02 15:13:23 by simonmar] We need GHC/Prim.hi for when the package is built, although we only use GHC/Prim.hi-boot during building. --- Makefile | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 1240ea8..6c72f48 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.7 2001/12/21 15:07:20 simonmar Exp $ +# $Id: Makefile,v 1.8 2002/01/02 15:13:23 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -51,18 +51,16 @@ CLEAN_FILES += GHC/PrimopWrappers.hs # ----------------------------------------------------------------------------- # GHC/Prim.hi-boot -#GHC/Prim.$(way_)hi : GHC/Prim.hi-boot -# cp $< $@ -# -#ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi) -# -#lib : $(ALL_PRIMS) -# -#boot :: $(ALL_PRIMS) -# -#CLEAN_FILES += $(ALL_PRIMS) - -lib : GHC/Prim.hi-boot +GHC/Prim.$(way_)hi : GHC/Prim.hi-boot + cp $< $@ + +ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi) + +lib : $(ALL_PRIMS) + +boot :: $(ALL_PRIMS) + +CLEAN_FILES += $(ALL_PRIMS) SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR) -traditional -- 1.7.10.4