[project @ 2001-09-13 11:35:09 by simonmar]
[ghc-base.git] / Makefile
1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.6 2001/09/13 11:35:09 simonmar Exp $
3
4 TOP=..
5 include $(TOP)/mk/boilerplate.mk
6
7 # -----------------------------------------------------------------------------
8
9 SUBDIRS = cbits include
10
11 ALL_DIRS = \
12         Control \
13         Control/Concurrent \
14         Control/Monad \
15         Control/Monad/ST \
16         Data \
17         Data/Array \
18         Database \
19         Debug \
20         Debug/QuickCheck \
21         FileFormat \
22         Foreign \
23         Foreign/C \
24         Foreign/Marshal \
25         GHC \
26         Hugs \
27         Language \
28         Network \
29         NHC \
30         System \
31         System/Mem \
32         System/IO \
33         Text \
34         Text/PrettyPrint \
35         Text/Regex \
36         Text/Show
37
38 PKG=core
39
40 # dependencies between .hsc files
41 GHC/IO.hs : GHC/Handle.hs
42
43 GHC/Prim.$(way_)hi : GHC/Prim.hi-boot
44         cp $< $@
45
46 lib : GHC/Prim.$(way_)hi
47
48 # -----------------------------------------------------------------------------
49
50 include $(TOP)/mk/target.mk
51