added a debug flag to makefile