How to program atmega32A using arduino uno??

I bought a 40pin atmel's Atmega32A-PU and i was unaware that it needs a different programmer rather than using arduino. I can't buy another programmer just to program that ic. I have arduino uno board which has atmeha328p and i have used it to program another atmega328p. But I don't know how to program a 40 pin ic such as atmega32A using arduino board and arduino ide.
I tried this tutorial on this link but nothing happened...
It was successful only upto burning the bootloader. What to do next???

I had a go at this a while back - I wrote some instructions plus board and pin definitions for download here...

once you burn the boot loader, it becomes an arduino

akki5230 (author)  steveastrouk3 years ago

Ok but it's 40pin so how to define the pins and all that stuff in an arduino program?