Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
make
/
Force rebuild ignoring timestamps
Force rebuild ignoring timestamps
make
Unconditionally remake all targets (-B / --always-make)
make -B build
⎘ copy
#make
#linux
more make
all 10 commands →
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 $@'
Include sub-makefiles
include mk/*.mk
Run a specific target
make build