Add Gitignore
fix typo
fix makefile, add some flexibility