This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: yacc and flex
- To: Sascha Ziemann <szi at aibon dot ping dot de>
- Subject: Re: yacc and flex
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Wed, 22 Mar 2000 13:09:53 -0800 (PST)
- Cc: automake at gnu dot org
- References: <7u1z523g0d.fsf@olivia.aibon.ping.de>
>>>>> "Sascha" == Sascha Ziemann <szi@aibon.ping.de> writes:
Sascha> flex conf_lexer.l && mv lex.yy.c conf_lexer.c
Sascha> gcc -c conf_lexer.c
Sascha> bison -y conf_parser.y && mv y.tab.c conf_parser.c
Sascha> gcc -c conf_parser.c
Sascha> And this means, that the tokens are not available in the
Sascha> conf_lexer.c file. How can I solve this problem?
Add an explicit dependency:
conf_parser.o: conf_lexer.c
We're trying to come up with a better solution for this problem.
Tom