Dependancy issue the Lex / Yacc / Automake

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


>>>>> "Martin" == Martin Schwenke <martin at meltin.net> 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 Makefile.in to see if it
looks correct.

Ben




More information about the linux mailing list