[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LEX & YACC support
From: |
Alexandre Duret-Lutz |
Subject: |
Re: LEX & YACC support |
Date: |
Thu, 14 Nov 2002 13:47:23 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
>>> "Alexandros" == Alexandros Karypidis <address@hidden> 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