Fix makefile and gitignore