Many style guides suggest putting the .PHONY before the target.
This is also my preferred style.
# Remove all build artifacts and dependencies
.PHONY: clean
clean:
-rm -r build
This, however, leads to a not very helpful help output
$ make help
.PHONY Remove all build artifacts and dependencies
I think mmake should ignore the .PHONY line.
Many style guides suggest putting the
.PHONYbefore the target.This is also my preferred style.
This, however, leads to a not very helpful help output
$ make help .PHONY Remove all build artifacts and dependenciesI think mmake should ignore the
.PHONYline.