add checkmem, checklint in makefile