Pass variables on command line make
Override Makefile variables at call time
make IMAGE=myapp:v2 TAG=latest push
more make
all 10 commands →
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
Specify Makefile path
make -f infra/Makefile plan
Phony targets declaration
.PHONY: build test deploy clean