Add tools.mk

Pair-programmed with @Vagabond.