[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+= %
%.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
- expand % to set variable,
Klaus Rudolph <=