From ed11edbf1b04c54e0fbc0915a4cfd1eac413cbf6 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 20 May 2015 22:04:34 +0100 Subject: [PATCH] Applications/util: generate a list of sizes --- Applications/util/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Applications/util/Makefile b/Applications/util/Makefile index 77d1d278..897ba6bb 100644 --- a/Applications/util/Makefile +++ b/Applications/util/Makefile @@ -104,7 +104,7 @@ LIBS = ../../Library/libs/syslib.lib APPS = $(OBJS:.rel=) $(OBJSBAD:.rel=) -all: $(APPS) +all: $(APPS) sizes $(OBJS): $(SRCS) @@ -117,8 +117,11 @@ $(OBJSBAD): $(SRCSBAD) %: %.rel $(FCC) $(PLATFORM) $< -o $@ +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