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. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
