A machine for making two different types of product consisting respectively of ice creams and of shakes, includes: a main processing circuit for making the ice cream, having an infeed end associated with a tank for containing a product to be processed and an outfeed end associated with a mixing chamber an auxiliary processing circuit for making the shake, having an infeed end associated with a tank for containing a diluting liquid and an outfeed end associated with the mixing chamber a dispenser mechanism positioned at the mixing chamber dispensing the ice cream or the shake and a selection device for selecting the type of product, equipped with at least a first and a second nozzle. Each nozzle can be associated with the mixing chamber in a corresponding condition for dispensing of the ice cream or the shake.