[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU make -- params to user defined functions
From: |
John Graham-Cumming |
Subject: |
Re: GNU make -- params to user defined functions |
Date: |
Fri, 11 Jul 2008 09:46:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Taylor wrote:
| I want to do iteration within user defined functions. And the param
| to be supplied as an argument has recursively evaluated variables that
| will vary as the iteration variable changes.
Can you give a concrete example of what you are trying to do?
|>From a perusal of the mailing list archives, I take it that there was
| some concern that changing how the params to user defined functions
| are evaluated might not be backwards compatible.
Instead of your blanket proposal, how about implementing a second
$(call) function (e.g. $(recursive-call)) that does the expansion you need.
John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIdw/ELphrp73n/hARAgaKAJ9ImArbWAL2XITUC3SifYTbfd+22gCgt3Ol
1iU1kk4IcUK8mxb060VHbhU=
=Tpc1
-----END PGP SIGNATURE-----