Flex / Bison Project Template, project Makefile.
Save this make source to a file named
Makefile in the same directory with
lexer and
parser source files. The build targets are described in the template project
README file.
To build a working parser simply run
make in the project directory.
To generate a graph of the parser and display it in an X11 window, run
make dotx11.
Code:
#A simple makefile for building Flex / Bison template
...