bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Makefile line number bug?


From: Jonny Grant
Subject: Makefile line number bug?
Date: Thu, 12 Nov 2015 12:12:56 +0000

Hello
Is this a bug? line numbers are output as (2), but actually they are
different. Note that also the "Hello" is output in the wrong order.. I
presume this may be the OS rather than GNU Make.

Please keep my email address in replies as I am not a member of this list.

Regards, Jonny

$ make -f makefile.mak
makefile.mak:2: One
makefile.mak:2: Two
makefile.mak:2: Three
Hello

$ make --version
GNU Make 4.1
Built for i686-pc-cygwin
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.



makefile.mak (not sure if the TABs have been lost)
all:
@echo Hello
$(warning One)
$(warning Two)
$(warning Three)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]