added profiler setting
added profiling to Makefile