diff --git a/ghc/interpreter/lib/Makefile b/ghc/interpreter/lib/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..366ad5b064c5695f29742dd23c7eb554176d13b9 --- /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