`call' function in `make'
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue May 25 07:46:08 PDT 2004
On Tue, May 25, 2004 at 07:25:59PM +0530, N. Raghavendra wrote:
> Is there an analogue in BSD `make' of the `call' function in `gmake':
> $(call VARIABLE,PARAM,PARAM,...)?
Not as such. You can however use the '!=' operator to assign a value
to a variable based on the output of some external command:
RATIO != sh -c 'echo $$(( $a / $b ))'
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040525/a3561923/attachment.bin
More information about the freebsd-questions
mailing list