a script to autobuild small files for a release

also some small edits to makefiles