Foolproof base Makefile.