help-make
[Top][All Lists]
Advanced

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

expand % to set variable


From: Klaus Rudolph
Subject: expand % to set variable
Date: Mon, 24 Jan 2011 13:38:59 +0100

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



reply via email to

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