[project @ 1999-11-19 15:33:34 by andy]
[ghc-hetmet.git] / ghc / interpreter / lib / Makefile
diff --git a/ghc/interpreter/lib/Makefile b/ghc/interpreter/lib/Makefile
new file mode 100644 (file)
index 0000000..366ad5b
--- /dev/null
@@ -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