Added gprof flag in makefile