add makedir to makefile