From: sewardj Date: Wed, 1 Dec 1999 10:56:25 +0000 (+0000) Subject: [project @ 1999-12-01 10:56:25 by sewardj] X-Git-Tag: Approximately_9120_patches~5462 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d32a066ec56b3af9b9048e12eef63a1e4bb0fc85;p=ghc-hetmet.git [project @ 1999-12-01 10:56:25 by sewardj] Add rules so library sources can be obtained from fptools/hslibs. --- diff --git a/ghc/interpreter/lib/Makefile b/ghc/interpreter/lib/Makefile index 5f274be..9d192f4 100644 --- a/ghc/interpreter/lib/Makefile +++ b/ghc/interpreter/lib/Makefile @@ -1,5 +1,5 @@ # -------------------------------------------------------------------------- # -# $Id: Makefile,v 1.3 1999/11/24 17:25:14 sewardj Exp $ +# $Id: Makefile,v 1.4 1999/12/01 10:56:25 sewardj Exp $ # -------------------------------------------------------------------------- # TOP = ../.. @@ -21,6 +21,13 @@ HUGSCPP = ../../utils/hscpp/hscpp -D__HUGS__ -DUSE_REPORT_PRELUDE %.lhs :: $(GHC_LIB_DIR)/exts/%.lhs $(HUGSCPP) -I../../includes $< > $*.lhs +%.lhs :: $(FPTOOLS_TOP)/hslibs/text/%.lhs + $(HUGSCPP) -I../../includes $< > $*.lhs +%.lhs :: $(FPTOOLS_TOP)/hslibs/util/%.lhs + $(HUGSCPP) -I../../includes $< > $*.lhs +%.lhs :: $(FPTOOLS_TOP)/hslibs/lang/%.lhs + $(HUGSCPP) -I../../includes $< > $*.lhs + CLEAN_FILES += $(LIBS) include $(TOP)/mk/target.mk