From: andy Date: Fri, 19 Nov 1999 15:33:34 +0000 (+0000) Subject: [project @ 1999-11-19 15:33:34 by andy] X-Git-Tag: Approximately_9120_patches~5539 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3df56f52c1c877ec1f80b78e42530a8022e36c21;p=ghc-hetmet.git [project @ 1999-11-19 15:33:34 by andy] Adding Makefile for Hugs lib directory. --- diff --git a/ghc/interpreter/lib/Makefile b/ghc/interpreter/lib/Makefile new file mode 100644 index 0000000..366ad5b --- /dev/null +++ b/ghc/interpreter/lib/Makefile @@ -0,0 +1,24 @@ +# -------------------------------------------------------------------------- # +# $Id: Makefile,v 1.1 1999/11/19 15:33:34 andy Exp $ +# -------------------------------------------------------------------------- # + +TOP = ../.. +include $(TOP)/mk/boilerplate.mk + +LIBS = List.lhs Ix.lhs Complex.lhs Char.lhs Ratio.lhs Random.lhs \ + Array.lhs Maybe.lhs Monad.lhs Numeric.lhs Directory.lhs \ + System.lhs Locale.lhs CPUTime.lhs IO.lhs Pretty.lhs \ + GetOpt.lhs Bits.lhs Word.lhs Addr.lhs NumExts.lhs Int.lhs + +hugslib :: $(LIBS) + + +HUGSCPP = ../../utils/hscpp/hscpp -D__HUGS__ -DUSE_REPORT_PRELUDE + +%.lhs :: $(GHC_LIB_DIR)/std/%.lhs + $(HUGSCPP) -I../includes $< > $*.lhs + +%.lhs :: $(GHC_LIB_DIR)/exts/%.lhs + $(HUGSCPP) -I../includes $< > $*.lhs + +include $(TOP)/mk/target.mk