List Info

Thread: GNU make variables??




GNU make variables??
country flaguser name
United Kingdom
2008-01-08 15:18:54
X=

somemakerule:
  ....
  $X+="ASTRING"
  ....

============================

I am having trouble with make and how variables are
processed - it
seems that rules cannot alter variables??  if I setup a
variable
before executing the first rule, a-ok but after that??

DC


Re: GNU make variables??
country flaguser name
United States
2008-01-11 04:09:38
"GDan" wrote:

> X=
> 
> somemakerule:
>  ....
>  $X+="ASTRING"
>  ....
> 
> ============================
> 
> I am having trouble with make and how variables are
processed - it
> seems that rules cannot alter variables??  if I setup a
variable
> before executing the first rule, a-ok but after that??

I think the proper syntax is "X +=
"ASTRING".

--gv

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )