updated makefile to create obj dir automatically