Dependancy issue the Lex / Yacc / Automake

Ben Elliston bje at
Wed Mar 20 14:03:29 EST 2002

>>>>> "Martin" == Martin Schwenke <martin at> writes:

  Mikal> noinst_PROGRAMS = lexer
  Mikal> lexer_SOURCES = lexer.y lexer.l

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

  Martin> It isn't something as simple as having a newer lexer.c than
  Martin> lexer.{y,l}, is it?

I would also advise reviewing the generated to see if it
looks correct.


More information about the linux mailing list