added debug conditionals to makefile