Added support for target specific files.
added makefile templates.