# BISONFLAGS= # For debugging: # BISONFLAGS=--debug --verbose --report=state BISONFLAGS= --report=state # The shift-reduce conflicts are normal, they're handled by precedence. of: of.y of.l bison -y -d ${BISONFLAGS} of.y flex of.l gcc -c y.tab.c lex.yy.c gcc y.tab.o lex.yy.o -o of calc: calc.y calc.l bison -y -d ${BISONFLAGS} calc.y flex calc.l gcc -c y.tab.c lex.yy.c gcc y.tab.o lex.yy.o -o calc test: ./dotest