wiki:PlanningWiki/BuildSystem

Version 4 (modified by takkaria, 9 years ago) (diff)

add requirements for dist targets

Requirements for a better buildsystem:

  • be usable without autoconf
  • be usable on any platform that has gmake (thinking of native mingw here)
  • automatic dependency generation
  • no ANSI colours to display stuff
  • hide compiler and link stages with CC & LINK (like current)
  • query git for branch name and commit id and include this when building
  • use fewer makefiles
  • allows multiple dist targets: osx, src, windows
                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 <------------------------'