Changes between Version 22 and Version 23 of Attic/Building/BuildSystem/New


Ignore:
Timestamp:
Jan 14, 2009 9:07:48 AM (5 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Attic/Building/BuildSystem/New

    v22 v23  
    7474just part of the system.  When working on GHC itself, we might want to 
    7575build just the compiler, for example.  In the recursive '''make''' system we 
    76 would do `cd ghc` and then `make`.  In the non-recursive system we could 
     76would do `cd ghc` and then `make`.  In the non-recursive system we can 
    7777still achieve this by specifying the target with something like `make 
    7878ghc/stage1/build/ghc`, but that's not so convenient. 
     
    9797all : all_rts 
    9898.PHONY all_rts 
    99 all_rts : ..dependencies... 
    100    ...how to build all_rts... 
     99all_rts : ...dependencies... 
    101100}}} 
    102101When the top level '''make''' includes all these `ghc.mk` files, it will see that target `all` depends on `all_rts, all_ghc, ...etc...`; so `make all` will make all of these.  But the individual targets are still available.  In particular, you can say