Follow-up Comment #1, bug #66030 (group make):

The purpose of that statement is to tell you why make elects to run that
recipe, not what it thinks that recipe will do.  The reason this line is shown
the way it is, is that foo.h is the target make is trying to build, and foo.h
is the target that make considers to be out of date, and foo.h is the target
that matches the pattern rule.  Make has no idea that it will even attempt to
build foo.c (yet), much less whether foo.c is out of date or not.

In other words make is not trying to build TWO targets, it's just trying to
build one target (at a time).

It could be that the output generated by --trace should be enhanced to be
clear that make expects more than one target to be generated when it invokes
this recipe, but giving details about what targets make thinks a recipe will
generate is beyond the current scope of the --trace option.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66030>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to