tldr/pages/common/make.md

21 lines
314 B
Markdown
Raw Normal View History

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.
- Call the all rule:
2016-01-04 10:23:09 +00:00
`make`
- Call a specific rule:
2016-01-04 10:23:09 +00:00
`make {{rule}}`
- Use specific Makefile:
2016-01-04 10:23:09 +00:00
`make -f {{file}}`
- Execute make from another directory:
2016-01-04 10:23:09 +00:00
`make -C {{directory}}`