Run parallel jobs make
Run up to 4 recipe lines in parallel
make -j4 test
more make
all 10 commands →
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
Automatic variable $@
build:
docker build -t $(IMAGE) . && echo 'Built $@'