add Makefile and squash warnings