[Top][All Lists]

[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+= %

    @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?


NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren:

reply via email to

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