1 # -----------------------------------------------------------------------------
3 # (c) 2009 The University of Glasgow
5 # This file is part of the GHC build system.
7 # To understand how the build system works and how to modify it, see
8 # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
11 # -----------------------------------------------------------------------------
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
20 include ../mk/compiler-ghc.mk
23 +$(TOPMAKE) all_ghc $(EXTRA_MAKE_OPTS)