Add "validate" Makefile target

This was supposed to be part of my previous validate PR, but somehow got missed.