cb710: handle DEBUG define in Makefile