Groundwork for exporting Makefiles.

Doesn't do anything, but it's got a template to build and it can write it.