On Sun, May 2, 2010 at 12:02 PM, Martin Mensch <[email protected]> wrote:

>  I am looking for a way to count something in make.
> I thing about a variable set to a string with a numeric meaning, say
> COUNT := 0
> and then have a function like this
> count := $(incrementbyone $(COUNT))
>
> Is there something like this?
>

The "Make Standard Library":

http://gmsl.sourceforge.net/

can do that and many related operations. (Search that page for "int_plus".)

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

Reply via email to