Include sub-makefiles
Split a large Makefile into modular includes
include mk/*.mk
- tool
- make10 commands
More make commands
-
make buildExecute the 'build' target in the current Makefile
-
make -n deployPrint what would be executed without running it
-
make IMAGE=myapp:v2 TAG=latest pushOverride Makefile variables at call time
-
make -j4 testRun up to 4 recipe lines in parallel
-
grep -E '^[a-zA-Z_-]+:.*?##' Makefile | awk -F':.*##' '{printf "%-20s %s\n", $1, $2}'Convention: annotate targets with ## comments for self-documenting Makefiles