wiki:TopMakefile

Top Makefile creation

This special driver creates a makefile useful for building complete project with one command. TopMakefile may be called only once with all used drivers as parameters.

px = Posix()
ms = MutekS()
caba = Caba()
tlm = Tlm()

[...]

TopMakefile(ms,caba,tlm,px)

Running make in top directory will recurse succesively in subdirectories of all given targets.

Targets

  • Default target is to build project in all directories.
  • Target clean cleans all compiled files but keeps dsx-generated ones
  • Target mrproper deletes all generated files (and directories) TopMakefile knows about

Overrides

You may override variable DIRS for restricting recursion to only some directories.

$ make DIRS=muteks
[...]
$ make DIRS="muteks muteks/caba"
[...]
$
Last modified 18 years ago Last modified on Aug 21, 2006, 3:39:12 PM