avrinput/avr_tests/Makefile
2019-04-10 11:52:35 +02:00

8 lines
145 B
Makefile

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