sketchy but functional makefile