Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I didn't know you could redefine .PHONY like that and what... all the phony targets are accumulated into a list?


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.”




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: