This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: dealing with "bison -pfoo" and "flex -Pfoo"
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: Dan McMahill <mcmahill at mtl dot mit dot edu>
- Cc: automake at gnu dot org
- Date: Mon, 17 Nov 2003 23:05:31 +0100
- Subject: Re: dealing with "bison -pfoo" and "flex -Pfoo"
- References: <20031115213603.GA29691@bondage.mcmahill.net>
>>> "Dan" == Dan McMahill <mcmahill@mtl.mit.edu> writes:
[...]
Dan> I'm working on is that the original sources used the -Pfoo
Dan> flag to flex and -p foo flag to bison. This has the
Dan> effect of having flex produce 'lex.foo.c' instead of
Dan> 'lex.yy.c' which seems to confuse automake.
Dan> AM_LFLAGS= -f -i -Pfoo
Does it help if you use
AM_LFLAGS = -f -i -Pfoo -o $(LEX_OUTPUT_ROOT).c
?
[...]
--
Alexandre Duret-Lutz