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

I'm sorry, while trying to put together the simplest possible test case I
think I posted the wrong example. Let me try again. Consider this slightly
revamped version:

$ cat Makefile
targets := foo.h foo.c

.PHONY: all
all: $(targets)

blah:
        touch $@

%.h %.c: blah
        touch $(targets)

$ rm foo.*; make --trace
Makefile:10: update target 'foo.h' due to: blah
touch foo.h foo.c

This message *does* attempt to give details about what targets make thinks a
recipe will generate. Make knows at this point that the rule promises to
update both foo.h and foo.c. It predicts an update of foo.h but not foo.c. Why
can't it say something like "update targets 'foo.h' and 'foo.c' due to: blah"


    _______________________________________________________

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