added production debugging and profiling modes to the makefile