Changed the makefile so that a target object directory is created