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

Attachment: pgpWM4LudQJSc.pgp
Description: PGP signature

Reply via email to