help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: begineer


From: Dave Korn
Subject: RE: begineer
Date: Thu, 11 Jan 2007 10:40:03 -0000

On 11 January 2007 10:13, hridyesh pant wrote:

> Hi,
> How can I achieve var=`cmd` type fo action in a Windows shell? I know that
> the backquote is not supported in Windows in the same way as it is on Unix
> flavors, but is there a way to achieve a similar effect? What I really want
> to do is set a variable in a makefile by running certain simple grep and
> cut commands.   
> 
> Any suggestions would be much appreciated.
> 
> Regards


VAR:=$(shell cmd)

should get you pretty much what you want, I believe.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....





reply via email to

[Prev in Thread] Current Thread [Next in Thread]