use batch mode in makefile