This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dealing with "bison -pfoo" and "flex -Pfoo"


>>> "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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]