|
| From: | Paul D. Smith |
| Subject: | [bug #48643] Irrelevant targets can confuse make on which pattern rule to select. |
| Date: | Sun, 28 Nov 2021 16:13:47 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36 |
Follow-up Comment #21, bug #48643 (project make):
I thought about this but adding such a note caused it to turn up in somewhat
unusual places. For example in this test:
all: hello.tsk
%.tsk: %.o; $(info hello.tsk)
%.o: %.c; $(info hello.c)
%.o: %.f %.tsk; $(info hello.f)
we expect to get this output:
make: Circular hello.o <- hello.tsk dependency dropped.
hello.f
hello.tsk
If I add a note when we start the compatibility check, it shows up here
(obviously we'd pick a more informative note if we added this):
Starting compatibility search
make: Circular hello.o <- hello.tsk dependency dropped.
hello.f
hello.tsk
I guess it's appropriate here but it seemed odd to me.
We should consider it. I wonder how many existing build systems would trigger
this note? That would be an interesting statistic.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?48643>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |