Ignore .PHONY line
adius opened this issue · comments
Moved to @ad-si commented
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.
TJ Holowaychuk commented
SGTM
Moved to @ad-si commented
This was only fixed if .PHONY
is before the comment, and not if it is after the comment like in my example 🙈.
I guess you should reopen it ...
TJ Holowaychuk commented
ahahah :D