On Fri, 2014-06-27 at 14:20 -0400, Tom Varga wrote:

> If there is a more appropriate forum for asking gnumake questions,
> please let me know.  However, I'm hoping that this is a short enough
> question, that you might be able to quickly answer it for me.

It's best to use either [email protected] or [email protected] rather
than email me directly.

> %.bar1 %.bar2 : %.foo
>         touch $(*F).bar1
>         touch $(*F).bar2
> 
> > touch a.foo
> > make a.bar1
> touch a.bar1
> touch a.bar2
> > make a.bar1
> make: 'a.bar1' is up to date.
> > rm a.bar2
> > make a.bar1
> make: 'a.bar1' is up to date.
> > make a.bar2
> touch a.bar1
> touch a.bar2
> 
> What I was really hoping is that make would consider both a.bar1 and
> a.bar2 to be required outputs of the rule and if one of them is
> deleted, then both the .bar1 and .bar2 targets should be considered
> out-of-date.

I believe it's supposed to work this way, but there's a bug; I think
it's https://savannah.gnu.org/bugs/?12078

Unfortunately it got lost on the stack for a really long time as you can
see.


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to