[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generating two binaries
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Generating two binaries |
Date: |
Thu, 11 Jul 2002 21:31:24 +0200 |
User-agent: |
Mutt/1.4i |
On Thu, Jul 11, 2002 at 11:29:31AM -0700, Bruce Korb wrote:
> Wei Qin wrote:
> >
> > Hi,
> >
> > I need to generate two binaries from the same source code. The
> > difference of the two are only compile time macro definitions. I need one
> > version with "-DNO_PAGE_CACHE" and the other version without.
> >
> > What should I do in Makefile.am in order to generate the two?
>
> For two separate executables:
>
> http://www.gnu.org/manual/automake/html_node/automake_32.html#SEC32
See also
http://www.gnu.org/manual/automake/html_node/automake_12.html#SEC12
--
Alexandre Duret-Lutz