Check if OBJDIR is defined before cleaning

`make clean` remove `OBJDIR` only if it is in the same directory.

If the user has set `OBJDIR` to a different directory, it would not clean anything.

Just added a check on wether `OBJDIR` is defined or not.