New syntax for GADT-style record declarations, and associated refactoring
[ghc-hetmet.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://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 #      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
10 #
11 # -----------------------------------------------------------------------------
12
13 dir = compiler
14 TOP = ..
15 SPEC_TARGETS = 1 2 3
16 include $(TOP)/mk/sub-makefile.mk
17
18 .PHONY: 1 2 3
19
20 1:
21         +$(TOPMAKE) stage=1 all_ghc_stage1 compiler_stage1_NO_BUILD_DEPS=YES OMIT_PHASE_1=YES OMIT_PHASE_2=YES OMIT_PHASE_3=YES
22
23 2:
24         +$(TOPMAKE) stage=2 all_ghc_stage2 compiler_stage2_NO_BUILD_DEPS=YES OMIT_PHASE_1=YES OMIT_PHASE_2=YES OMIT_PHASE_3=YES
25
26 3:
27         +$(TOPMAKE) stage=3 all_ghc_stage3 compiler_stage3_NO_BUILD_DEPS=YES OMIT_PHASE_1=YES OMIT_PHASE_2=YES OMIT_PHASE_3=YES
28
29 .PHONY: extra-help
30 help : extra-help
31 extra-help :
32         @echo "  make 1"
33         @echo "  make 2"
34         @echo "  make 3"
35         @echo
36         @echo "     Build the stage 1, 2 or 3 GHC respectively, omitting dependencies"
37         @echo "     and initial phases for speed."