[Top][All Lists]

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

[bug #47715] Implicit rule defined for multiple targets at once only run

From: Paul D. Smith
Subject: [bug #47715] Implicit rule defined for multiple targets at once only runs one time
Date: Sat, 16 Apr 2016 23:10:58 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #3, bug #47715 (project make):

Sure, because when make tries to build "a/foo.o" it finds the pattern rule and
it assumes when the recipe is run it has produced the output files "a/foo.o",
"b/foo.o", and "c/foo.o" (because that's what your rule says it does, and make
believes you).

If it then is asked to build "b/foo.o", make says "hey, I already built that
as a result of running this recipe so I don't need to run it again".

But if you ask to build "b/bar.o", then make doesn't believe that this file is
already built so it matches the recipe again, this time with a stem of "bar",
and believes that the recipe builds the files "a/bar.o", "b/bar.o", and

Probably it's better to email address@hidden to get instruction and help on
these issues, rather than doing it through the bug tracking system.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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