Fix Makefile and gitignore.