New makefile rules for preparing build environments on various platforms.
Code cleanup; src/Makefile
Allow for automated nightly builds; src/Makefile