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
"c/bar.o".

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47715>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to