Add PROFILE=1 to compile for gprof profiling.