updqte makefile according to project rule