added debug option in Makefile