calc: y.tab.c lex.yy.c cc y.tab.c -lfl -o calc # older systems used "-ll" to get the "lex" library; "-lfl" gets the "flex" library. y.tab.c: calc.y yacc calc.y lex.yy.c: calc.l lex calc.l