Please keep my email-address confidential, as I don't want to get spam.

The command (1)
  make elf
gives the result "make: *** No rule to make target `elf'.  Stop."
when no makefile exists.

The command (2)
  make -f mmm aaa
gives the result
  make: mmm: No such file or directory
  make: *** No rule to make target `mmm'.  Stop.

I'd prefer to get the "No such file or directory" in every case
when the makefile is not found. For command (2), mmm is the name
of the makefile and _not_ the name of a target. It looks like
there is a connection between the two bugs.

It was very confusing and took a long time to find out this was a
make bug, when I first encountererd command (1), as there was a
makefile named 'xyz.mke' but no makefile named 'makefile'.

=============================

make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-linux-gnu

[openSUSE 11.1]




_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to