Run a specific target make
Execute the 'build' target in the current Makefile
make build
more make
all 10 commands →
Dry run (print commands only)
make -n deploy
Pass variables on command line
make IMAGE=myapp:v2 TAG=latest push
Run parallel jobs
make -j4 test
List all targets (with help pattern)
grep -E '^[a-zA-Z_-]+:.*?##' Makefile | awk -F':.*##' '{printf "%-20s %s\n", $1, $2}'
Force rebuild ignoring timestamps
make -B build