Improved makefile

All variables are now set at a central location. Only object files are set
in individual sub-makefiles