On Sat, 2022-10-22 at 10:16 -0400, Paul Smith wrote: > > This warning doesn't seem to be given for indirect targets as e.g. > > would be the case with bison and cc: %.y -> %.[ch] -> %.o which was > > the case that caused me problems with 4.3.90. I've since fixed my > > Makefile, so no actual problem to me, but I just did a recheck and > > expected to see this warning with my old Makefile and didn't get > > it. > > Unfortunately it's not possible to give this warning in all > situations, without extra work. Make only generates the warning if > it is easy to do. I can add a note about this to the NEWS file.
I actually looked again and was able to find a better way to check for this, that also detects the situation above and shows the warning. Thanks for noticing this Frank.