update makefile template