chiark / gitweb /
Makefile: Better display of size (device memory usage)
[marlin.git] / Marlin / Makefile
index a85111d58ecab3f91a8921885f70e1d470eb7f19..940bb168b7a3f6b3f973e8e44260022b201bb22c 100644 (file)
@@ -221,7 +221,8 @@ endif
 
        # Display size of file.
 HEXSIZE = $(SIZE) --target=$(FORMAT) applet/$(TARGET).hex
-ELFSIZE = $(SIZE)  applet/$(TARGET).elf
+ELFSIZE = $(SIZE) --mcu=$(MCU) -C applet/$(TARGET).elf; \
+          $(SIZE)  applet/$(TARGET).elf
 sizebefore:
        $P if [ -f applet/$(TARGET).elf ]; then echo; echo $(MSG_SIZE_BEFORE); $(HEXSIZE); echo; fi