[project @ 2001-08-17 12:50:34 by simonmar]
[ghc-base.git] / Makefile
1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.5 2001/08/17 12:50:34 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/IO \
32         Text \
33         Text/PrettyPrint \
34         Text/Regex \
35         Text/Show
36
37 PKG=core
38
39 # dependencies between .hsc files
40 GHC/IO.hs : GHC/Handle.hs
41
42 GHC/Prim.$(way_)hi : GHC/Prim.hi-boot
43         cp $< $@
44
45 lib : GHC/Prim.$(way_)hi
46
47 # -----------------------------------------------------------------------------
48
49 include $(TOP)/mk/target.mk
50