modify makefile to add template.c