updated makefile_template