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: Markus Elfring
Subject: Re: Supporting build rules for grouped targets
Date: Mon, 20 Jan 2020 21:50:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

> 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

I suggest to reconsider the information which is provided
in the section “Handling Tools that Produce Many Outputs”.

Will the relevance of the other referenced approaches evolve?

* Rule item delimiter “&:”
  
https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html#Rules-with-Grouped-Targets

* Operator “+” for specifying target groups
  
https://docs.oracle.com/cd/E88353_01/html/E37839/make-1s.html#REFMAN1make-1s-usag

Regards,
Markus



reply via email to

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