| 1 | = Top Makefile creation = |
| 2 | |
| 3 | This special driver creates a makefile useful for building complete project with one command. |
| 4 | TopMakefile may be called only once with all used drivers as parameters. |
| 5 | |
| 6 | {{{ |
| 7 | px = Posix() |
| 8 | ms = MutekS() |
| 9 | caba = Caba() |
| 10 | tlm = Tlm() |
| 11 | |
| 12 | [...] |
| 13 | |
| 14 | TopMakefile(ms,caba,tlm,px) |
| 15 | }}} |
| 16 | |
| 17 | Running `make` in top directory will recurse succesively in subdirectories of all given targets. |
| 18 | |
| 19 | = Targets = |
| 20 | |
| 21 | * Default target is to build project in all directories. |
| 22 | * Target `clean` cleans all compiled files but keeps dsx-generated ones |
| 23 | * Target `mrproper` deletes all generated files (and directories) TopMakefile knows about |
| 24 | |
| 25 | = Overrides = |
| 26 | |
| 27 | You may override variable `DIRS` for restricting recursion to only some directories. |
| 28 | |
| 29 | {{{ |
| 30 | $ make DIRS=muteks |
| 31 | [...] |
| 32 | $ make DIRS="muteks muteks/caba" |
| 33 | [...] |
| 34 | $ |
| 35 | }}} |