Re:I Like Makefiles
by orbisvicis on Saturday September 21, 2024 @07:30AM
(#41609297)
I didn't know you could redefine .PHONY like that and what... all the phony targets are accumulated into a list?
[ Parent
| on HN ]
Not just .PHONY - you can do that for any target: https://www.gnu.org/software/make/manual/html_node/Multiple-...
“One file can be the target of several rules. All the prerequisites mentioned in all the rules are merged into one list of prerequisites for the target.”