Programming ATmega 16A

I wish to programme an Atmega16A microcontroller using arduino uno and then use it as a stand alone microcontroller.Can anybody please give tell me how to go about it including the necessary circuit connections to dump the code into Atmega16A ?

I have tried this :

http://hardwarefun.com/tutorials/use-arduino-as-an-isp-programmer-to-program-non-arduino-avr-microcontrollers

But I am unable to find Atmega16 in the list of boards on doing the 2nd step (i.e copying the arduino-core-master folder into the sketch folder)

Kindly let me know if this method is correct and if it is, then how can I resolve this issue? Otherwise, if there is an alternative method, then please let me know. Its kind of urgent .

Thanks in advance!

I have also tried this :

but i am getting error : bootloader.tool configuration pattern missing.