From: Reid Spencer Date: Mon, 5 Feb 2007 23:18:58 +0000 (+0000) Subject: Add a show-footprint target to run du a few times to show how much disk X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1e46ae47b1dfe2d8f59da9cac9cedb52390c50fe;p=oota-llvm.git Add a show-footprint target to run du a few times to show how much disk space a build tree's objects are consuming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33934 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile b/Makefile index 602898c82f7..8f16ce2e7b3 100644 --- a/Makefile +++ b/Makefile @@ -110,4 +110,10 @@ srpm: $(LLVM_OBJ_ROOT)/llvm.spec rpm: $(LLVM_OBJ_ROOT)/llvm.spec rpmbuild -bb --target $(TARGET_TRIPLE) $(LLVM_OBJ_ROOT)/llvm.spec +show-footprint: + $(Verb) du -sk $(LibDir) + $(Verb) du -sk $(ToolDir) + $(Verb) du -sk $(ExmplDir) + $(Verb) du -sk $(ObjDir) + .PHONY: srpm rpm