tldr/pages/common/make.md

314 B

make

Task runner for rules described in Makefile. Mostly used to control the compilation of an executable from source code.

  • Call the all rule:

make

  • Call a specific rule:

make {{rule}}

  • Use specific Makefile:

make -f {{file}}

  • Execute make from another directory:

make -C {{directory}}