Updated .gitignore
Major overhaul to makefile, allowing build in a remote directory
Added directory removal to makefile (gives an error if run twice)