1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:37:58 +01:00
tldr/pages/common/make.md

21 lines
314 B
Markdown
Raw Normal View History

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