correct float to double.
add Makefile