On Mon, 2020-05-18 at 21:05 +0200, Jouke Witteveen wrote:
> Otherwise, POSIX prescribes an expr command, so with:
> expr = $(shell expr '$1')
> you can already do $(call expr,2 * 3 + 5).

Please remember not every user of GNU make has access to a POSIX
environment.

I'm not suggesting we re-implement POSIX shell, coreutils, etc. inside
GNU make.  But, there may be a way to get a lot of bang for relatively
little buck, portability-wise.

It's at least worth discussing.


Reply via email to