help-make
[Top][All Lists]
Advanced

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

GNU make variable not working


From: Gadkari Amit
Subject: GNU make variable not working
Date: Mon, 30 Mar 2009 14:52:08 +0530

Hi,

 

I am trying to define variable inside target and trying to print it value.

But I am getting blank value in echo.

I am using Cywin and gnu make version is 3.8

 

A:

            FOO=abc

            $(warning VAR=$(FOO))

 

Also static assignment operator is also not working. It give error 127.

B:

            Test1:=sample

           

 

Thanks & Regards,

Amit Gadkari


reply via email to

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