Created makefile and cleaned up dependency.