automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining an arbitary value for one output only


From: Michael Still
Subject: Re: Defining an arbitary value for one output only
Date: Mon, 3 Jun 2002 04:15:17 +1000

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'll need automake version 1.5 or later.

But will automake 1.4... I'll upgrade and give this a try.

Thanks,
Mikal

-- 

Michael Still (address@hidden)     UMT+10hrs




reply via email to

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