The sedimentary rock made up mainly of calcium carbonate is limestone.