]> git.zerfleddert.de Git - rsbs2/blobdiff - bmc/Makefile
beginning i2c
[rsbs2] / bmc / Makefile
index 2e566d010a9bc26de5b40e399168471b0376c75c..8adc53d1798a225998a649843f8b6553425e53d0 100644 (file)
@@ -1,5 +1,5 @@
 CC=avr-gcc
-CFLAGS=-mmcu=atmega16 -g
+CFLAGS=-mmcu=atmega16 -DF_CPU=8000000UL -Wall -g
 OBJCOPY=avr-objcopy
 PROG=dragon_jtag
 PORT=usb
@@ -7,7 +7,7 @@ PMCU=m16
 
 all: bmc.bin
 
-bmc: bmc.o
+bmc: bmc.o usart.o i2c.o
 
 bmc.bin: bmc
        $(OBJCOPY) -j .text -j .data -O binary $^ $@
Impressum, Datenschutz