There was a graphic novel of Superman vs. Batman, The Dark Knight Returns; It was turned into an animated feature, and I think it's the prototype by which they've crafted this movie's plot. (Batsy won, FYI.)
[video=youtube;OYBClxNR_fU]https://www.youtube.com/watch?v=OYBClxNR_fU[/video]
I still have this GN somewhere but haven't looked at it in years. Time to bust it out.