automake
[Top][All Lists]
Advanced

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

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


From: Alexandre Duret-Lutz
Subject: Re: dealing with "bison -pfoo" and "flex -Pfoo"
Date: Mon, 17 Nov 2003 23:05:31 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Dan" == Dan McMahill <address@hidden> 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





reply via email to

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