* Detect flex and bison; updated the manual.

This commit is contained in:
Eelco Dolstra 2004-01-30 16:32:14 +00:00
parent c5baaafae6
commit c625718513
5 changed files with 45 additions and 51 deletions

View file

@ -12,11 +12,13 @@ AM_CFLAGS = \
# Parser generation.
parser.o: parser-tab.h lexer-tab.h
parser-tab.c parser-tab.h: parser.y
../grammartest/inst/bin/bison -v -o parser-tab.c parser.y -d
$(bison) -v -o parser-tab.c parser.y -d
lexer-tab.c lexer-tab.h: lexer.l
flex --outfile lexer-tab.c --header-file=lexer-tab.h lexer.l
$(flex) --outfile lexer-tab.c --header-file=lexer-tab.h lexer.l
CLEANFILES =