Making makefiles with primarily phony targets more friendly
From:
Katherine Pata
Subject:
Making makefiles with primarily phony targets more friendly
Date:
Wed, 10 Aug 2022 19:08:55 +0000
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?