>>> "Alexandros" == Alexandros Karypidis <[EMAIL PROTECTED]> writes:

 Alexandros> Hi all,

 Alexandros> I am unsatisfied with the "Makefile.am" I have
 Alexandros> built, due to the fact that whenever I change my
 Alexandros> bison file to add a %token, I have to run make
 Alexandros> TWICE to get a correct build.  This is because the
 Alexandros> header file with token declarations which is
 Alexandros> generated when yacc is run, also affects the
 Alexandros> lexical scanner -- therfore it needs to be rebuilt
 Alexandros> as well. However, this is only detected after the
 Alexandros> fist "make" command.

Generated headers are almost always an issue for dependency
tracking.

Try adding the following and see if that helps.

BUILT_SOURCES = parser.h

[...]

-- 
Alexandre Duret-Lutz



Reply via email to