Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
all: c99 c99: lex.yy.c y.tab.c gcc -o $@ $^ lex.yy.c: c99.l flex $^ y.tab.c: c99.y yacc -d $^ test: c99 ./c99 < test.c test2: c99 ./c99 < test2.c test3: c99 ./c99 < test3.c