10 override CFLAGS
= -g
-Wall
$(OPTIMIZE
) -mmcu
=$(MCU_TARGET
) $(DEFS
) -L
/usr
/x86_64-pc-linux-gnu
/avr
/lib
18 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$^
$(LIBS
)
21 rm -rf
*.o
$(PRG
).elf
$(PRG
).hex
26 $(OBJCOPY
) -j .text
-j .data
-O ihex
$< $@
31 avrdude
-p m16
-c
$(PROG
) -P
$(PORT
) -U flash
:w
:$<