Hi all,

I want to set a variable from a part of a target specification.


%.x: CXXFLAGS+= %

%.x:
    @echo $(CXXFLAGS)


But this will always expand to % and not to the name of the target :-(

Is there a way to get the expected result?

Thanks
 Klaus


-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to