Re: pullrequest feat

2025-07-02 Thread Tim Murphy
On Wed, 2 Jul 2025 at 22:40, Bahman Movaqar wrote: > Somehow in the same vein is the work I did in bmakelib: > https://github.com/bahmanm/bmakelib/blob/main/doc/logged.md > That library is impressive. I wondered if GNU make could benefit from a function that fetches the current time - this migh

Re: pullrequest feat

2025-07-02 Thread Bahman Movaqar
Somehow in the same vein is the work I did in bmakelib: https://github.com/bahmanm/bmakelib/blob/main/doc/logged.md On another note, I think for such a feature to be added to Make it should be a bit more abstract. A couple of ideas that crossed my mind: - The timestamp format should either be conf

Re: Re: Autodetect processing units with -j

2025-07-02 Thread Paul Smith
On Wed, 2025-07-02 at 00:03 +0200, wrotycz wrote: > Tried to get what the `MAKEFLAGS' is but documentation, not manual is > not very helpful. I'm not sure what "documentation, not manual" refers to. Maybe you mean the man page? The man page is not intended to describe everything about makefiles

Re: pullrequest feat

2025-07-02 Thread Tim Murphy
Hi :-) That's a cool idea. Can you send us the diff or a link to the diff? Regards, Timothy Murphy On Wed, 2 Jul 2025 at 14:00, xf liao wrote: > Hello everyone, my name is Nico, and I’m from China. I’m a senior IT > systems architect, and I use Make in my daily work to build IT environments.

pullrequest feat

2025-07-02 Thread xf liao
Hello everyone, my name is Nico, and I’m from China. I’m a senior IT systems architect, and I use Make in my daily work to build IT environments. In my scripts, I have a lot of code like the following to print logs: define loginfo = @echo "$$(date -d today +'%Y-%m-%d %T') info: [$(@)]-$(1)" endef