On Fri, Jun 27, 2014 at 2:52 PM, Tom Varga wrote:
> b.zoo1 really only depends on b.bar1
> b.zoo2 really only depends on b.bar2
>
> However, only one rule (and tool) is used to build both b.bar1 and b.bar2
>
> I really don't want force b.zoo1 to artificially depend on b.bar2 as it's
> not a real
I guess this bug is pretty much what I'm dealing with.
However, it also exhibits itself even when not using pattern rules. ie :
b.foo :
touch b.foo
b.bar1 b.bar2 : b.foo
touch b.bar1
touch b.bar2
b.zoo1 : b.bar1
touch b.zoo1
b.zoo2 : b.bar2
touch b.zoo2
The
b.zoo1 really only depends on b.bar1
b.zoo2 really only depends on b.bar2
However, only one rule (and tool) is used to build both b.bar1 and b.bar2
I really don't want force b.zoo1 to artificially depend on b.bar2 as it's
not a real dependency.
I was really just hoping to be able to convince gnu
On Fri, Jun 27, 2014 at 11:24 AM, Tom Varga wrote:
>
> 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 :
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