From 522fd0f8bf5807492d44424a780cb56519cef31f Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Fri, 22 May 2015 22:20:17 +0200 Subject: [PATCH] utils: Add size report to Makefile.6809 Signed-off-by: Tormod Volden --- Applications/util/Makefile.6809 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Applications/util/Makefile.6809 b/Applications/util/Makefile.6809 index a40e360b..645d758b 100644 --- a/Applications/util/Makefile.6809 +++ b/Applications/util/Makefile.6809 @@ -97,7 +97,7 @@ OBJS = $(SRCS:.c=.o) APPS = $(OBJS:.o=) -all: $(APPS) +all: $(APPS) sizes $(OBJS): $(SRCS) @@ -106,8 +106,11 @@ $(APPS): $(CRT0) %: %.o $(LINKER) -o $@ $(LINKER_OPT) $(CRT0) $< +sizes: $(APPS) + ls -l $(APPS) > size.report + clean: - rm -f $(OBJS) $(APPS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin + rm -f $(OBJS) $(APPS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report rmbak: rm -f *~ core -- 2.34.1