update makefile and add gitignore file