update Makefile template