Add Makefile and pre-commit hook script.