6 ms·
I prefer to put `.PHONY` before every phony target, not gather them all in one place. When phony targets are all written out in the beginning of the Makefile,
by anticodon 6y ago
I prefer to put `.PHONY` before every phony target, not gather them all in one place.
When phony targets are all written out in the beginning of the Makefile, it's easy to forget to alter this list when a phony target is added or removed later.
This rarely causes an error, but still I've seen many Makefiles with outdated .PHONY lists.