On 25/11/15 13:59, th...@vmware.com wrote:
Jonny Grant writes:
  > Hello
  >
  > Could line numbers be added to output for the case where it says "No
  > rule to make target" please?
  >
  > Example below. GNU Make 4.1
  >
  > I'm not on this list, so please include my email address is any
  > replies Regards, Jonny

  >
  >
  > makefile.mak
  >
  > %.o : %.d
  >
  > all: test.o
  >     echo processing
  >
  >
  > ^Sorry TAB has been lost by my email client
  >
  > $ make
  > make: *** No rule to make target 'test.o', needed by 'all'.  Stop.
  >
  >
  > Could line number (4) be added to the message?
  >
  > eg
  > $ make
  > make: *** makefile.mak:4 No rule to make target 'test.o', needed by
  > 'all'.  Stop.

  What should be output if the following is typed?

    make gungla


Perhaps just the regular because its not got a specific line number:

$ make gungla
make: *** No rule to make target 'gungla'. Stop.


What do think?
Regards, Jonny

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

Reply via email to