2016-01-04 10:23:09 +00:00
|
|
|
# make
|
|
|
|
|
|
|
|
> Task runner for rules described in Makefile.
|
|
|
|
> Mostly used to control the compilation of an executable from source code.
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Call the all rule:
|
2016-01-04 10:23:09 +00:00
|
|
|
|
|
|
|
`make`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Call a specific rule:
|
2016-01-04 10:23:09 +00:00
|
|
|
|
|
|
|
`make {{rule}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Use specific Makefile:
|
2016-01-04 10:23:09 +00:00
|
|
|
|
|
|
|
`make -f {{file}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Execute make from another directory:
|
2016-01-04 10:23:09 +00:00
|
|
|
|
|
|
|
`make -C {{directory}}`
|