[bug #18335] Addition of $(math ...) functions

2009-10-05 Thread Paul D. Smith
Follow-up Comment #5, bug #18335 (project make): No one is suggesting integrating Guile just to provide math functions. There are a lot of operations which are not covered by the current suite of make functions (take a look at the various enhancement requests, etc. for new ones) and I'm not inte

[bug #18335] Addition of $(math ...) functions

2009-10-05 Thread Kaz Kylheku
Follow-up Comment #4, bug #18335 (project make): The make program does a lot of work by generating shell script fragments and running them. Not only are the lines of rule bodies shell scripts, but GNU makefiles make other uses of shell features. For instance, calling the find utility to locate ta

[bug #18335] Addition of $(math ...) functions

2006-11-27 Thread Paul D. Smith
Follow-up Comment #3, bug #18335 (project make): My intention was to leave the math functions to the Guile integration. I'm open to discussion on this point. If we do decide to create a built-in math section for GNU make, I wouldn't want to see it using the kind of Lisp-like syntax described by

[bug #18335] Addition of $(math ...) functions

2006-11-21 Thread Dave Korn
Follow-up Comment #2, bug #18335 (project make): Oh, BTW, I would suggest ... $(math $(VAL)+($(FOO)/4)) ... that a lisp-like (non-reverse Polish) notation might be more consistent with the general style of make here: $(plus $(VAL),$(divide $(FOO),4)) cheers, DaveK __