The machine comprises a device 2 for kneading sweetened paste 15 that it supplies to an extrusion group 14 constituted by two telescopically coupled, vertical tubular blocks 75 and 76, namely a first fixed tubular block and a second movable tubular block closed at the bottom by an extrusion plate 80 which, with the said tubular blocks, defines a variable volume chamber 82; and a conveyor 18 that supplies baking tins in succession to the overhead said extrusion group 14.