Drain the olives. Roast pine nuts in a pan without fat. Wash the basil and remove the leaves. Cut ham into tender strips. Finely chop olives, pine nuts and basil. Fold in ham and parmesan. Put the baking mixture in a bowl.
Add 1/4 litre of lukewarm water and knead to a smooth dough with the dough hooks of the hand mixer. Knead in prepared ingredients. Divide dough into 20 equal portions. Form 20 sticks of approx. 25 cm length. Distribute on 2 baking trays lined with baking paper. Bake the trays one after the other in a preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for 12-15 minutes. Pesto tastes good with it