The machine (1) has a driving frame (2) supported at ground over a chassis (4), and hay-making assemblies i.e. raking rotors (5), supported at a supporting frame (7). The supporting frame is lifted from a lifting and/or pivoting device (19) together with the assemblies relative to the driving frame in a headland and/or transport position. An intermediate frame (11) is arranged between the driving and supporting frames. The pivoting device is designed such that an angle position of the assemblies is changed relative to the ground and the assemblies are brought into the transport position.