[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defining an arbitary value for one output only
From: |
Ganesan R |
Subject: |
Re: Defining an arbitary value for one output only |
Date: |
03 Jun 2002 08:36:16 +0530 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Michael" == Michael Still <address@hidden> writes:
> On 2 Jun 2002, Richard Boulton wrote:
>> On Sun, 2002-06-02 at 09:01, Michael Still wrote:
>> > My Makefile.am looks something like:
>> >
>> > noinst_PROGRAMS = sample ui
>> > sample_SOURCES = sample.c
>> > ui_SOURCES = ui.c other.c sample.c
>> >
>> > I would like to be able to define a value such as WITHWX (i.e.
>> > -DWITHWX=1) for the ui target only. I am having some trouble finding the
>> > right variable name to use...
>> >
>> > Can I have a hint please?
>>
>> ui_CFLAGS = -DWITHWX
>> See "Program and Library Variables" in the automake info pages.
> 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.
Ganesan
--
Ganesan R (address@hidden>) | http://www.debian.org/~rganesan/
1024D/5D8C12EA, fingerprint F361 84F1 8D82 32E7 1832 6798 15E0 02BA 5D8C 12EA