Dependancy issue the Lex / Yacc / Automake

Michael Still mikal at
Wed Mar 20 08:09:08 EST 2002

I have a simple lex and yacc project I am trying to Automakify. The looks like:

noinst_PROGRAMS = lexer
lexer_SOURCES = lexer.y lexer.l

When I build the code, it would seem that it goes straight to a gcc ... -c
lexer.c, instead of running lex and yacc first.

Any hints on what I have done wrong? AC_PROG_YACC and AM_PROG_LEX are
defined in the



Michael Still (mikal at     UMT+11hrs

More information about the linux mailing list