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



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to