add a Makefile to ignore errors  with pre-commit hook