Interrelated control of tool and work-feed drives