[project @ 1999-11-22 16:02:53 by sewardj]
[ghc-hetmet.git] / ghc / interpreter / lib / Makefile
1 # -------------------------------------------------------------------------- #
2 # $Id: Makefile,v 1.2 1999/11/22 16:02:53 sewardj Exp $ 
3 # -------------------------------------------------------------------------- #
4
5 TOP = ../..
6 include $(TOP)/mk/boilerplate.mk
7
8 LIBS = List.lhs Ix.lhs Complex.lhs Char.lhs Ratio.lhs Random.lhs \
9        Array.lhs Maybe.lhs Monad.lhs Numeric.lhs Directory.lhs \
10        System.lhs Locale.lhs CPUTime.lhs IO.lhs Pretty.lhs \
11        GetOpt.lhs Bits.lhs Word.lhs Addr.lhs NumExts.lhs Int.lhs 
12
13 hugslib :: $(LIBS)
14
15
16 HUGSCPP = ../../utils/hscpp/hscpp -D__HUGS__ -DUSE_REPORT_PRELUDE
17
18 %.lhs :: $(GHC_LIB_DIR)/std/%.lhs
19         $(HUGSCPP) -I../../includes $< > $*.lhs
20
21 %.lhs :: $(GHC_LIB_DIR)/exts/%.lhs
22         $(HUGSCPP) -I../../includes $< > $*.lhs
23
24 include $(TOP)/mk/target.mk