update makefile and .gitignore