Dependancy issue the Lex / Yacc / Automake

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


I have a simple lex and yacc project I am trying to Automakify. The
Makefile.am 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 configure.in...

Mikal

-- 

Michael Still (mikal at stillhq.com)     UMT+11hrs





More information about the linux mailing list