Fix minor error in Makefile and modify .gitignore