add Makefile and DEBUG Macro