Updated makefile to be a bit more generic. Added '.gitignore'.