added more warning checks to the Makefile