Add a show-footprint target to run du a few times to show how much disk

space a build tree's objects are consuming.

llvm-svn: 33934
This commit is contained in:
Reid Spencer 2007-02-05 23:18:58 +00:00
parent 51c0fb9e48
commit 99a1e6b6eb
1 changed files with 6 additions and 0 deletions

View File

@ -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