[project @ 2001-07-31 16:41:32 by simonmar]
[ghc-base.git] / Makefile
1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.4 2001/07/31 16:41:32 simonmar Exp $
3
4 TOP=..
5 include $(TOP)/mk/boilerplate.mk
6
7 # -----------------------------------------------------------------------------
8
9 ifeq "$(way)" ""
10 SUBDIRS = cbits
11 else
12 SUBDIRS=
13 endif
14
15 ALL_DIRS = \
16         Control \
17         Control/Concurrent \
18         Control/Monad \
19         Control/Monad/ST \
20         Data \
21         Data/Array \
22         Database \
23         Debug \
24         FileFormat \
25         Foreign \
26         Foreign/C \
27         Foreign/Marshal \
28         GHC \
29         Hugs \
30         Language \
31         Network \
32         NHC \
33         System \
34         System/IO \
35         Text \
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