On 2020-01-20, Markus Elfring <markus.elfr...@web.de> wrote: > Variants of the make software support build rules for grouped targets. > > Examples: > * > https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html#Rules-with-Grouped-Targets > * > https://docs.oracle.com/cd/E86824_01/html/E54763/make-1s.html#REFMAN1make-1s-usag > > How can feature checks be achieved for such functionality around safer > management of desired dependencies?
I don't understand exactly what you are asking, but the Automake manual has a section[1] on how to write portable makefile rules for programs that produce multiple output files. I normally use the dedicated witness file and deletion-recovery rules without locks which is fairly simple and sufficient for most cases. [1] https://www.gnu.org/software/automake/manual/automake.html#Multiple-Outputs Cheers, Nick