corrections in makefile

Initailly makefile was failing if there is no obj/ directory.
mkdir obj 2> /dev/null will silenltly create the required directory.