makefile refactoring
refactored makefile in order to use parallel compiling