wiki:PlanningWiki/BuildSystem

Version 2 (modified by magnate, 8 years ago) (diff)

Added noz's make map

Requirements for a better buildsystem:

  • be usable without autoconf
  • automatic dependency generation
  • it would not use ANSI colours to display stuff
  • query git for branch name and commit id and include this as defines when building
  • hide compiler and link stages with CC & LINK (like current)
  • use fewer makefiles
                    Makefile.nds    Makefile.osx   Makefile.std   Makefile.win
                          |   |          |               |            |
                          |   |          |               |            |
          Makefile <------'   '-------.  |  .------------'            |
              | |                     |  |  |   .---------------------'
              | |                     v  v  v   v
              | |                    Makefile.inc                Makefile.nmake
              | |                        |                              |
              | '------------------.     |                              |
              |                    |     |                              |
              |                    |     |                              |
              |                    |     |                              |
              v                    v     v                              |
          mk/buildsys.mk          Makefile.src <------------------------'}}}