[minor] rewrite Makefile to be moar Makefil-y