By thinking its your last cig, by telling yourself you will quit, you are making it much more difficult. Hidden in the no is an equally powerful yes, you simply drop the subject of cigs from mind and you won't smoke.
thank you Socrates
If it arises, simply watch... it will come, do not fight or identify with it though.