An incorrect and highly onfusing error message of GNU make 3.80, on Linux x86.

To reproduce: In an otherwise empty directory, create this Makefile:

====================================
%.erg : ../bar
        echo done

%.erw : ../baz
        echo done

foo.res : ../baz
        echo done
====================================

$ make foo.erg
make: *** No rule to make target `foo.erg'.  Stop.
$ make foo.erw
make: *** No rule to make target `../baz', needed by `foo.erw'.  Stop.
$ make foo.res
make: *** No rule to make target `../baz', needed by `foo.res'.  Stop.

The first error message is incorrect and should look like the other two:
make: *** No rule to make target `../bar', needed by `foo.erg'.  Stop.

Bruno



_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to