That already seems to have been fixed:
martind@sirius:~/tmp/make-undefined-variables-2022-01-27$ cat Makefile
MAKEFLAGS += --warn-undefined-variables
a: $(foo); touch $@
martind@sirius:~/tmp/make-undefined-variables-2022-01-27$ ~/download/make/make
--version
GNU Make 4.3.90
Built for x86_64-pc-l
Hi,
Consider the following scenario:
$ ls
Makefile
$ cat Makefile
MAKEFLAGS += --warn-undefined-variables
a: $(foo)
touch $@
$ make
touch a
$ ls
a Makefile
I'd like make to warn about this. It took me a while to debug a
Makefile bug, which I thought was not happening, since make sh
Follow-up Comment #37, bug #48643 (project make):
> The first one is that the output appears even if make ultimately decides
that there is no way to build the target.
i think, this is good. Hopefully, this will prevent users from writing
makefiles that depend on compat search.
> When I put my e