diff --git a/Makefile b/Makefile index 914c106..4b8d834 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ override LDFLAGS = CC = avr-gcc OBJCOPY = avr-objcopy OBJDUMP = avr-objdump +SIZE = avr-size AVRDUDE_ARGS = ifdef BOARD @@ -31,6 +32,7 @@ deps.mk: *.c drivers/*.c %.elf: %.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + $(SIZE) $@ %.lst: %.elf $(OBJDUMP) -h -S $< > $@