More warnings and better Makefile dep logic