updated Makefile to show all warnings
fixed a warning