Add makefile with check target.