help-make
[Top][All Lists]
Advanced

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

line number


From: John Dill
Subject: line number
Date: Tue, 12 Feb 2008 18:06:37 -0500

Is there a way to define a function that returns the current line number of
the makefile?

$(warning) shows the line number, but I'm more interested in getting the
line number into text that I can redirect to a file.  I want to do this
primarily as a logging tool to record the line of the makefile where I'm
calling a function.

Thanks,
John





reply via email to

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