Fixed Makefile to use obj files and gcc header dependencies