Updated makefile to link math.h and ignore output