Changes between Version 2 and Version 3 of Building/Architecture/Idiom/StandardTargets


Ignore:
Timestamp:
Mar 24, 2015 10:52:32 AM (4 years ago)
Author:
Phyx-
Comment:

added some clarification on how make finds targets

Legend:

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

    v2 v3  
    1818
    1919These targets also work for the libraries, eg `make all_libraries/ghc-prim_dist-install`.  This target is parsed as make `all` in `libraries/ghc-prim` for the `dist-install` build. Some libraries also have a `dist-boot` build.
     20
     21In order for `make` to be able to find your new directory and apply the rules to it you need to add it to the `BUILD_DIRS` list in the top-level `ghc.mk`:
     22
     23{{{
     24BUILD_DIRS += rts
     25}}}
     26
     27Without this entry calling '''make''' will not allow it to find a `target` for the new entry.