Am Mon, 2002-06-03 um 16.27 schrieb Alexandre Duret-Lutz:
> >>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> 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.
Oops, you're right, I missed that aspect of the question.

Anyway, any plans to implement per-target _CPPFLAGS? 

I am inclined to think this might be what many people asking for
per-target CFLAGS actually are looking for ("How to compile a source
file several times using different defines").

Ralf



Reply via email to