Generalize write-make-run keymapping using Makefiles.