Add new template Makefile and modify simple ones.