I use a small food processor, but you can also put the candy canes in a sealed zip lock bag, and crush them with a rolling pin. Ensure that no large pieces of candy cane remain before adding them to the cookies.