⌘K
make
all
Task runner for targets described in Makefile. Mostly used to control the compilation of an executable from source code.
More info →Options (5)
-j, --jobsbooleanCall a specific target, executing 4 jobs at a time in parallel
Example:
make {{[-j|--jobs]}} 4 {{target}}-f, --filebooleanUse a specific Makefile
Example:
make {{[-f|--file]}} {{path/to/file}}-C, --directorybooleanExecute make from another directory
Example:
make {{[-C|--directory]}} {{path/to/directory}}-B, --always-makebooleanForce making of a target, even if source files are unchanged
Example:
make {{[-B|--always-make]}} {{target}}-e, --environment-overridesbooleanOverride variables defined in the Makefile by the environment
Example:
make {{[-e|--environment-overrides]}} {{target}}Examples (8)
Call the first target specified in the Makefile (usually named "all")
makeCall a specific target
make targetCall a specific target, executing 4 jobs at a time in parallel
make [-j|--jobs] 4 targetUse a specific Makefile
make [-f|--file] path/to/fileExecute make from another directory
make [-C|--directory] path/to/directoryForce making of a target, even if source files are unchanged
make [-B|--always-make] targetOverride a variable defined in the Makefile
make target variable=new_valueOverride variables defined in the Makefile by the environment
make [-e|--environment-overrides] targetmade by @shridhargupta | data from tldr-pages