add .gitignore and tweak makefile