added mako support
better makefile