modified cpp makefile template