From 9967598207fbfd26b6f7492632b39c69d16bc56d Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 9 Sep 2015 21:10:14 +0200 Subject: [PATCH] Display some size information about the image (used data) at the end of the compilation. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 327738f..41ce6a7 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ NAME_DEPS = ${NAME_OBJS:%.o=$(OBJDIR)/%.d} @echo "Creating image : $@" @$(CROSS_COMPILE)objcopy -R .stack -R .bss -O binary $^ $@ @ls -l $@ + @$(CROSS_COMPILE)size $^ @echo Done. ${OBJDIR}/%.o: %.c -- 2.43.0