I've been thinking about this for many years. I really think flour is the best ratio of calories to dollar. However, I've been unable to satisfactorily quantify the energy and time costs into equivalents.
In Germany I'm able to buy 1kg of flour for about 50 euro cents at Edeka. I don't know how much bread that makes, but it is A LOT. I'm certain that it is significantly more than 2880 calories.