programming other atmel chips using arduino

i want to build my own atmel328 circuit but how can i program it using arduino?


By giving it a serial interface, installing the bootloader to the chip, and calling it an Uno.

Use Nick Gammon's Arduino as ISP to bootload it.

Then, connect Rx/Tx/Gnd from Arduino to your card to use the USB/Serial adapter function to download a sketch; put a jumper from Reset to Gnd on the Arduino so it doesn't interfere with the serial download. Put a reset button on your standalone sketch, press it when the IDE shows "compiled xxx of 32xxx bytes". May have to try a couple of times to get the timing right.