Can't upload program to ATmega16
The problem with this is that I had been using USBASP programmer. So instead of

avrdude -c avrisp -p m16


I needed to run the following command 

avrdude -c usbasp -p m16