This is a skeleton for how to do a yacc/bison project without problems. You should also read the manuals: flex bison TODO integrate this with my makefile-demo project, which does more things automagically.