[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How come I can't use $@ in expressions?
From: |
santana |
Subject: |
How come I can't use $@ in expressions? |
Date: |
Thu, 4 Oct 2007 12:23:10 -0700 (PDT) |
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#a13047060
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.
- How come I can't use $@ in expressions?,
santana <=