Samuel Eto'o became the top scorer in the history of the Africa Cup of Nations as Cameroon reached the last eight of the 2008 competition.
Eto'o broke the Nations Cup scoring record that had stood since 1970
Eto'o's record-breaking 15th goal came from a penalty on 27 minutes and soon after Cameroon were 2-0 up following an own goal from Mohammed Ali Khider.
Sudan improved after half-time and Cameroon keeper Idriss Carlos Kameni did well to save a series of shots.
Late on Eto'o extended his record when he raced clear to slot the ball home.
That third goal was a little unfair on the Sudanese, who staged a spirited second-half revival.
Eto'o, who had scored three times in Ghana before Wednesday's game, should really have come away from this game with four rather than two goals.
He missed a double chance to break Ivory Coast's Laurent Pokou's 1970 record of 14 goals early on when his close-range shot was partially saved by Mahjoub El Moez.
The rebound fell to Eto'o but the Barca striker blasted over the bar.
With Joel Epalle marauding down the right and Timothee Atouba adopting a similarly attacking policy down the other wing, Sudan struggled to break out of their own half.
Too often Sudan resorted to illegal tactics and Amir Damir should have been booked for an awful tackle on Epalle.
Achille Emana won the penalty when he was hauled to the ground by another poor challenge from Yousef Alaeldin, who arguably should have been sent off.
Eto's shot was hit almost to the centre of the goal, but with El Moez going the other way the Cameroon striker was able to wheel away in delight to celebrate his fourth goal of the tournament and a slice of history.
After the break, Sudan emerged from their defensive shell and an Alaeldin shot was pushed away for a corner by Kameni.
When that corner came over the ball landed invitingly for Haitham Tambal, but he miscued badly.
Kameni had to scamper across his goal for a second time to turn away Faisal Agab's shot.
In between those glut of Sudanese chances historymaker Eto'o missed another good chance when he shot straight at El Moez when it looked easier to score.
Sudan were soon back on the attack and Rigobert Song had to be alert to deal with a dangerous cross.
Kameni did well to deal with another cross - this time from Haitham Tambal - as the Cameroon keeper came under renewed pressure.
But in stoppage time Eto'o raced clear to collect Epalle's pass and expertly guide the ball past El Moez.
Having been already been beaten by Group C winners Egypt, Cameroon finished in second and will play the winners of group D in Tamale next Sunday.
Cameroon: Kameni, Song, Atouba (Tchato 46), M'Bami, Geremi, Eto'o, Emana (Tomou 57), Epalle (Essola 76), Song Billong, Job, Bikey.
Subs Not Used: Angbwa, Binya, Hamidou, Idrissou, Makoun, Mbarga, Mbia, N'Guemo, Nkong.
Goals: Eto'o 28 pen, Ali Elkhidir 34 og, Eto'o 90.
Sudan: Elmuiz Abdalla, Bakhit (Tahir Osman 54), El Tayeb, Ali Elkhidir, Yousif Hado, Kuku, Lado, Karar, El Bashir, Kamal Tambal (Hassan 77), Agab Sido (Babiker 62).
Subs Not Used: Bader Eldin Abdalla, Ahmed, Ali Idris Farah, El Basha Adam, El Hadi Salem, Eldin Ahmed Gibril, Hameed Amari,
Booked: Yousif Hado.