]>
git.zerfleddert.de Git - rsbs2/blob - bmc/Makefile
2 CFLAGS
=-mmcu
=atmega16
-DF_CPU
=8000000UL -Wall
-g
10 bmc
: bmc.o usart.o i2c.o
13 $(OBJCOPY
) -j .text
-j .data
-O binary
$^
$@
16 avrdude
-v
-c
$(PROG
) -P
$(PORT
) -p
$(PMCU
) -U flash
:w
:$^
19 setsid avarice
-g
-D
:4242
20 -avr-gdb
-ex
'target remote localhost:4242' bmc
23 -rm -f
*.o bmc bmc.bin
25 .PHONY
: all clean flash debug