GNU Make 4 · Rules and targets
Declare phony targets
Mark targets that are commands, not files, so a file with the same name doesn't stop them running.
.PHONY: all clean test
Official GNU Make 4 documentation
GNU Make 4 · Rules and targets
Mark targets that are commands, not files, so a file with the same name doesn't stop them running.
.PHONY: all clean test
Official GNU Make 4 documentation
Was this page helpful?