]> git.saurik.com Git - bison.git/blob - examples/calc++/Makefile
Start a set of simple examples.
[bison.git] / examples / calc++ / Makefile
1 all: calc++
2
3 calc++:
4 flex -ocalc++-scanner.cc calc++-scanner.ll
5 bison -o calc++-parser.cc calc++-parser.yy
6 $(CC) -o calc++ calc++.cc calc++-driver.cc calc++-parser.cc calc++-scanner.cc
7
8 check: all
9 ./test
10
11 clean:
12 rm -f *~ *.o *.tab.* input position.hh location.hh stack.hh \
13 calc++-parser.cc calc++-parser.hh \
14 calc++-scanner.cc \
15 calc++