Re: Question about pattern rule with multiple targets

2014-06-27 Thread Tom Varga
uld be the likelihood of there being a fix to this issue in the latest 4.0 release? And, if it is, when might that be possible? Thanks, -Tom On Fri, Jun 27, 2014 at 5:43 PM, Paul Smith wrote: > On Fri, 2014-06-27 at 14:20 -0400, Tom Varga wrote: > > > If there is a more approp

Re: Question about pattern rule with multiple targets

2014-06-27 Thread Tom Varga
o convince gnumake that b.bar1 and b.bar2 are built with the same rule and MUST be consistent, that is both having been built at the same time and that both exist too. On Fri, Jun 27, 2014 at 5:34 PM, Philip Guenther wrote: > On Fri, Jun 27, 2014 at 11:24 AM, Tom Varga wrote: >> &g

Question about pattern rule with multiple targets

2014-06-27 Thread Tom Varga
On page 120 of the gnumake manual, it mentions support for pattern rules with multiple targets. This pattern rule has two targets: %.tab.c %.tab.h: %.y bison -d $< So, if I have a simple rule that looks like: %.bar1 %.bar2 : %.foo touch $(*F).bar1 touch $(*F).bar2 and then do: > touch a.foo