Fancified makefile for medium template