Changes between Version 9 and Version 10 of Building/Architecture/Idiom/PhaseOrdering


Ignore:
Timestamp:
Jul 6, 2014 6:29:19 PM (5 years ago)
Author:
thomie
Comment:

There are 3 phases, not 4

Legend:

Unmodified
Added
Removed
Modified
  • Building/Architecture/Idiom/PhaseOrdering

    v9 v10  
    121121Note that the `inc1.mk` rule is ''only'' enabled in phase 0, so that if we accidentally call `inc.mk` without first performing phase 0, we will either get a failure (if `inc1.mk` doesn't exist), or otherwise '''make''' will not update `inc1.mk` if it is out-of-date.
    122122
    123 In the case of the GHC build system we need 4 such phases, see the
    124 comments in the [source:ghc.mk top-level ghc.mk] for details
    125 (search for 'Approximate build order' and 'Numbered phase targets').
     123In the case of the GHC build system, the two Makefiles are called `Makefile` (the wrapper) and `ghc.mk`.
    126124
    127125This approach is not at all pretty, and
     
    142140   * Includes: dependency files for everything else.
    143141   * Builds: Everything else.
     142
     143See the comments in the [source:ghc.mk top-level ghc.mk] for details
     144(search for 'Approximate build order' and 'Numbered phase targets').