1 #-----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.5 1997/03/19 20:44:51 simonpj Exp $
6 include $(TOP)/mk/boilerplate.mk
10 # everything needs utils
11 # includes/ needs driver (to easily c.pile mkNativeGen.c)
12 # make depend except in {utils,driver} needs includes
13 # RTS and compiler need includes
17 # Order is important! driver/ has to come before includes/ which
18 # again has to come before the rest.
20 # If we're booting from .hc files, swap the order
21 # we descend into compiler/ and lib/
23 ifeq "$(GhcWithHscBuiltViaC)" "NO"
24 SUBDIRS = utils driver includes runtime compiler lib
26 SUBDIRS = utils driver includes runtime lib compiler
29 include $(TOP)/mk/target.mk