Small fix in Makefile: order of -lm linking