added debug mode in makefile