avrinput/avr_tests/Makefile

8 lines
145 B
Makefile
Raw Permalink Normal View History

2019-04-10 09:52:35 +00:00
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