attiny44a 12 MHz external crystal
So you were able to use this setup to program the Tiny via the Arduino with Blink.ino. But you get a stk500 error with your other code.

Note that the IDE in "Arduino as ISP" is not talking Arduino Boot Loader. Rather the App loaded into the Arduino is to talk as ISP (likely AVR109) to avrdude. 

Hence I think the "-c arduino" is likely incorrect and causing the observation. 

Not sure what the -c needs to be. Either google it. Or in the IDE's preferences under the FILE menu enable verbose for upload and send the blink.ino and learn from the print of what arguments are being used with avrdude on the final program. Noting there may be one to upload the app with the ISP app into the UNO and then one to use the UNO as a programmer to the Tiny.