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
12 rm -f *~ *.o *.tab.* input position.hh location.hh stack.hh \
13 calc++-parser.cc calc++-parser.hh \
22 calc++-driver.hh calc++-driver.cc \
27 doc = ../../doc/bison.texinfo
28 extexi = gawk -f ../extexi
30 RECURSIVE_TARGETS += extract
32 $(EXTRACTED): $(doc) ../extexi
33 $(extexi) $(doc) -- $(EXTRACTED)
35 extract extract-am: $(EXTRACTED)