added debug parameter, now total_dynamix can enable profiling in make