bug-make
[Top][All Lists]
Advanced

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

feature requests: $(__FILE__) and $(__LINE__) textual macros


From: Basile Starynkevitch
Subject: feature requests: $(__FILE__) and $(__LINE__) textual macros
Date: Sat, 27 Jan 2024 18:06:29 +0100
User-agent: Mozilla Thunderbird

Hello

For non-trivial GNUmakefile-s on Linux it would be nice to have a $(__FILE__) and $(__LINE__) textual macros of GNU make.

They would behave as their equivalent __FILE__ and __LINE__ of the Cpp preprocessor.

On Linux Debian trixie/sid x86-64, my GNU make is
% /usr/bin/make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu

I do have a buggy non-trivial GNUmakefile
in https://github.com/RefPerSys/RefPerSys/blob/6f133cdfe044d652b394b7402f020d976336d72f/GNUmakefile

FYI, RefPerSys on https://github.com/RefPerSys/RefPerSys/ is a GPLv3+ licensed inference engine project. RefPerSys meaning "reflective persistent system".

Your opinion is appreciated on this new feature requests.

Regards from near Paris in France.


--
Basile Starynkevitch             <basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/
See https://github.com/RefPerSys/RefPerSys




reply via email to

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