updated .gitignore
added rules to the makefile