This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Defining an arbitary value for one output only
>>> "Ralf" == Ralf Corsepius <corsepiu@faw.uni-ulm.de> writes:
Ralf> Am Mon, 2002-06-03 um 05.06 schrieb Ganesan R:
[...]
>> >> > I would like to be able to define a value such as WITHWX (i.e.
>> >> > -DWITHWX=1) for the ui target only.
[...]
>> > Ahh, this is c++, and I have tried ui_CPPFLAGS...
>>
>> You should use ui_CXXFLAGS then. CPPFLAGS is flags to pass to the
>> pre-processor.
Ralf> -D flags are pre-processor flags, so CPPFLAGS is appropriate.
Unfortunately Automake doesn't support per-target _CPPFLAGS.
[...]
--
Alexandre Duret-Lutz