help-make
[Top][All Lists]
Advanced

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

Re: How come I can't use $@ in expressions?


From: santana
Subject: Re: How come I can't use $@ in expressions?
Date: Thu, 4 Oct 2007 12:35:17 -0700 (PDT)

OK, I see now.... I should have said $(@:%.o=%.cpp) IT WORKS!!!!;-) sorry for
the trivial post.




santana wrote:
> 
> Hi,
>  I want to take the target strip its extension and add a different one
> inside a make rule specifically:
> 
> $($@:%.o=%.cpp)
> 
> should work, but it doesn't! :-((how come? concise alternative?
> 
> 


-----
http://quaoar.sr.unh.edu http://quaoar.sr.unh.edu 
-- 
View this message in context: 
http://www.nabble.com/How-come-I-can%27t-use-%24%40-in-expressions--tf4570992.html#a13047270
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

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