update makefiles. link markdown to rst via pandoc.