Re: GNU make variables??

"Gisle Vanem" <[email protected]>
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
"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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.