Add config.rb, makefile.template, bin/m.