I often find myself using makefiles to handle things like project linting, 
container images, various scripts, initiating tests, and other misc tasks. 
Sometimes these include tasks that have real dependencies that make should keep 
track of, but often the vast majority of targets are phony.

Something like --reverse-phony or a variable like .GENUINE or .REAL that is 
mutually exclusive with .PHONY would be really helpful.

Would there be interest in developing this for GNU Make? If someone creates a 
patch, would this be accepted?

Has this been discussed before?

Reply via email to