foo: foo.tab.c mv -f foo.tab.c foo.tab.cc g++ foo.tab.cc foo.tab.c: bison foo.y clean: rm -f foo.tab.* a.out