2016-01-04 13:23:09 +03:00
|
|
|
# make
|
|
|
|
|
|
|
|
> Task runner for rules described in Makefile.
|
|
|
|
> Mostly used to control the compilation of an executable from source code.
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Call the all rule:
|
2016-01-04 13:23:09 +03:00
|
|
|
|
|
|
|
`make`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Call a specific rule:
|
2016-01-04 13:23:09 +03:00
|
|
|
|
|
|
|
`make {{rule}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Use specific Makefile:
|
2016-01-04 13:23:09 +03:00
|
|
|
|
|
|
|
`make -f {{file}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Execute make from another directory:
|
2016-01-04 13:23:09 +03:00
|
|
|
|
|
|
|
`make -C {{directory}}`
|
2016-07-05 17:21:56 +03:00
|
|
|
|
|
|
|
- Force making of a rule, even if source files are unchanged
|
|
|
|
|
|
|
|
`make -B {{rule}}`
|