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 # -----------------------------------------------------------------------------
16 include $(TOP)/mk/sub-makefile.mk
18 FAST_MAKE_OPTS += compiler_stage1_NO_BUILD_DEPS=YES compiler_stage2_NO_BUILD_DEPS=YES compiler_stage3_NO_BUILD_DEPS=YES
23 +$(TOPMAKE) stage=1 all_ghc_stage1 $(FAST_MAKE_OPTS)
26 +$(TOPMAKE) stage=2 all_ghc_stage2 $(FAST_MAKE_OPTS)
29 +$(TOPMAKE) stage=3 all_ghc_stage3 $(FAST_MAKE_OPTS)
38 @echo " Build the stage 1, 2 or 3 GHC respectively, omitting dependencies"
39 @echo " and initial phases for speed."