automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Supporting build rules for grouped targets


From: Nick Bowler
Subject: Re: Supporting build rules for grouped targets
Date: Mon, 20 Jan 2020 13:31:00 -0500

On 2020-01-20, Markus Elfring <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]