added a debug option in Makefile