Add .gitignore to repo and made the Makefile portable