Stupid Makefile tricks

patsubst trick shamelessly stolen from Nick Johnson's Rhombus OS