update makefile and ast