added warning and debug flags to Makefile