Upgrade libcode/Makefile with O3 opt
Switch to -O3 optimization throughout
Add a global makefile

This makefile should run all other makefiles. Some work is needed
to get it to do a global clean and install.