avrinput/avr_tests/Makefile

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