Normalize version.mk contents.
Clean up build process--shift most of processing into Makefile, leaving only
R-specific steps in separate script.
Clarify build process by splitting lapack setup from compiler setup.