On Mac OS X directories with .dSYM extension are created during build. The latest fossil builds everything in the $OBJDIR now and make clean therefor fails on rm -f $OBJDIR/* since it contains the dSYM directories. Adding -r to the rm should fix this.