Add Makefile with a "check" rule

Follows GNU coding standards:
http://www.gnu.org/prep/standards/html_node/Standard-Targets.html