summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d2482318..92fe8c92 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,7 @@ size:
@echo
@for lib in $(LIBS); do \
echo "$$lib:"; \
- ar tv $$lib | awk '{print $$3 "\t" $$8}' | sort -n; \
- echo -n 'Total: '; \
- ar tv $$lib | awk '{print " + " $$3}' | xargs expr 0; \
+ size -t $$lib | awk '{print $$1 "\t" $$2 "\t" $$3 "\t" $$6}'; \
echo; \
done
@echo