Simplified makefile

Shortened the makefile and got rid of unwanted specificity.
Added emacs temporaries to the ignore file.