From: Tormod Volden Date: Fri, 22 May 2015 20:20:17 +0000 (+0200) Subject: utils: Add size report to Makefile.6809 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=522fd0f8bf5807492d44424a780cb56519cef31f;p=FUZIX.git utils: Add size report to Makefile.6809 Signed-off-by: Tormod Volden --- 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