updating the makefile to be smart, updating the .gitignore file to
ignore generated files