Place candy canes in food processor and process into 1/2-inch chunks or smaller. Melt the chocolate in a double boiler. Combine candy cane chunks with chocolate; add peppermint flavoring. Pour mixture onto a cookie sheet layered with parchment or waxed paper and place in the refrigerator for 45 minutes or until firm. Remove from cookie sheet and break into pieces (like peanut brittle).