refactor makefile
refactored makefile