add external template for Makefile