[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding line numbers to output for "No rule to make target"
From: |
thutt |
Subject: |
Adding line numbers to output for "No rule to make target" |
Date: |
Wed, 25 Nov 2015 05:59:45 -0800 |
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