add a comment
[ghc.git] / compiler / Makefile
1 # -----------------------------------------------------------------------------
2 #
3 # (c) 2009 The University of Glasgow
4 #
5 # This file is part of the GHC build system.
6 #
7 # To understand how the build system works and how to modify it, see
8 # http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
10 #
11 # -----------------------------------------------------------------------------
12
13 # If the user says 'make' or 'make stage=2' here, we behave as if they were
14 # in the ghc directory instead, so that the executable GHC gets built.
15 .PHONY: default_to_ghc all_ghc
16 default_to_ghc : all_ghc
17
18 dir = compiler
19
20 include ../mk/compiler-ghc.mk
21
22 all_ghc :
23 +$(TOPMAKE) all_ghc $(EXTRA_MAKE_OPTS)
24