show resulting elf size

This commit is contained in:
King Kévin 2016-01-19 13:50:51 +01:00
parent 3cb678848c
commit 0e2f87ed41
1 changed files with 1 additions and 2 deletions

View File

@ -109,8 +109,6 @@ endif
all: elf
elf: $(BINARY).elf
$(Q)size $(<)
bin: $(BINARY).bin
hex: $(BINARY).hex
srec: $(BINARY).srec
@ -134,6 +132,7 @@ list: $(BINARY).list
%.elf: $(OBJ) $(LDSCRIPT) $(LIB_DIR)/lib$(LIBNAME).a
$(info compiling $(@))
$(Q)$(LD) $(LDFLAGS) $(ARCH_FLAGS) $(OBJ) $(LDLIBS) -o $(@)
$(Q)size $(@)
%.o: %.c
@#printf " CC $(*).c\n"