tests= usart_test.elf io_test.elf all: $(tests) %.elf:%.c avr-gcc $< -mmcu=atmega168 -O -o $@ avrdude -p m168 -c avrispmkii -U flash:w:$@:a