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