Modified makefile to only remove object files.

Additionally added a .gitignore in the obj/ directory so git doesn't
complain about intermediate object files.