help-make
[Top][All Lists]
Advanced

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

Re: Target-specific Variable Values


From: Eli Zaretskii
Subject: Re: Target-specific Variable Values
Date: Sat, 11 Dec 2010 15:16:59 +0200

> Date: Sat, 11 Dec 2010 14:14:13 +0330
> From: ali hagigat <address@hidden>
> 
> all: file1 ;@echo $far1
> file1: far1 = yuuuuu
> file1:
>       @echo $far1
>       @echo lllllll
> 
> ar1
> lllllll
> ar1
> ----------------------------------------------------
> Why the second rule does not print the value of far1?

Because $far1 is not a reference to a Make variable.  Try $(far1)
instead.



reply via email to

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