Update makefile divide build method