New Makefile

Replaced the old makefile with a modified one form the ucfk4 software
library. It will be much easier to manage when more modules start being
invloved. Although the optimisation seems to be a little worse.