generate proper Makefile.template
add basic howto to README