check_all and small makefile improvement