X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/0ed4de5ebd3591b7a8fa527a0c41a2d1a349fef3..99e4226b74acd4286b735b5da275853701dcacf0:/bmc/Makefile?ds=sidebyside diff --git a/bmc/Makefile b/bmc/Makefile index 2e566d0..8adc53d 100644 --- a/bmc/Makefile +++ b/bmc/Makefile @@ -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 $^ $@