added directory creation to makefile