Specify Makefile path
Use a Makefile in a different directory or with a different name
make -f infra/Makefile plan
- tool
- make10 commands
More make commands
-
.PHONY: build test deploy cleanPrevent make from confusing targets with files of the same name
-
build: docker build -t $(IMAGE) . && echo 'Built $@'$@ expands to the current target name in a recipe
-
include mk/*.mkSplit a large Makefile into modular includes
-
make buildExecute the 'build' target in the current Makefile
-
make -n deployPrint what would be executed without running it