make

Task runner for targets described in Makefile. Mostly used to control the compilation of an executable from source code. More information: <https://www.gnu.org/software/make/manual/make.html>.

Install

All systems
curl cmd.cat/make.sh
Debian Debian
apt-get install make
Ubuntu
apt-get install make
Alpine
apk add make
Arch Arch Linux
pacman -S make
image/svg+xml Kali Linux
apt-get install make
CentOS
yum install make
Fedora
dnf install make
Windows (WSL2)
sudo apt-get update sudo apt-get install make
OS X
brew install make
Raspbian
apt-get install make
Docker
docker run cmd.cat/make make powered by Commando

Task runner for targets described in Makefile. Mostly used to control the compilation of an executable from source code. More information: <https://www.gnu.org/software/make/manual/make.html>.

  • Call the first target specified in the Makefile (usually named "all"):
    make
  • Call a specific target:
    make target
  • Call a specific target, executing 4 jobs at a time in parallel:
    make -j4 target
  • Use a specific Makefile:
    make --file path/to/file
  • Execute make from another directory:
    make --directory path/to/directory
  • Force making of a target, even if source files are unchanged:
    make --always-make target
  • Override a variable defined in the Makefile:
    make target variable=new_value
  • Override variables defined in the Makefile by the environment:
    make --environment-overrides target

© tl;dr; authors and contributors