I think the top-level makefile already sets the OBJ variable using a similar check.