unify makefile-common across all of Nick and Purcaro's code