decruft of Makefile.common