Forrest logo
back to context overview

make

List of commands for make:

  • make:tldr:099da make: Call the first target specified in the Makefile (usually named "all").
    $ make
    try on your machine
    explain this command
  • make:tldr:14743 make: Call a specific target.
    $ make ${target}
    try on your machine
    explain this command
  • make:tldr:2ccbb make: Call a specific target, executing 4 jobs at a time in parallel.
    $ make -j${4} ${target}
    try on your machine
    explain this command
  • make:tldr:5c9aa make: Execute make from another directory.
    $ make --directory ${path-to-directory}
    try on your machine
    explain this command
  • make:tldr:7c892 make: Override variables defined in the Makefile by the environment.
    $ make --environment-overrides ${target}
    try on your machine
    explain this command
  • make:tldr:c5cdd make: Override a variable defined in the Makefile.
    $ make ${target} ${variable}=${new_value}
    try on your machine
    explain this command
  • make:tldr:e9486 make: Use a specific Makefile.
    $ make --file ${filename}
    try on your machine
    explain this command
  • make:tldr:f42f7 make: Force making of a target, even if source files are unchanged.
    $ make --always-make ${target}
    try on your machine
    explain this command
back to context overview