Added Makefile support for single, double and quad precision - double precision is not fully supported by the code though