Add Makefile, minor filetype-specific tweaks.