1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

Merge pull request #1062 from tldr-pages/make

make: Improve page
This commit is contained in:
Leandro Ostera 2016-09-16 07:11:34 +02:00 committed by GitHub
commit a5d42f53dd

View file

@ -1,20 +1,24 @@
# make
> Task runner for rules described in Makefile.
> Task runner for targets described in Makefile.
> Mostly used to control the compilation of an executable from source code.
- Call the all rule:
- Call the first target specified in the Makefile (usually named "all"):
`make`
- Call a specific rule:
- Call a specific target:
`make {{rule}}`
`make {{target}}`
- Use specific Makefile:
- Use a specific Makefile:
`make -f {{file}}`
`make --file {{file}}`
- Execute make from another directory:
`make -C {{directory}}`
`make --directory {{directory}}`
- Force making of a target, even if source files are unchanged:
`make --always-make {{target}}`