Bug fix: makefile for all profiling phases