moved debug macro to makefile