Respect OBJDIR and CURDIR