BUILD: Show file sizes in verbose build
This commit is contained in:
parent
c271694143
commit
edb55a0982
3 changed files with 8 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -80,6 +80,12 @@ RM ?= rm -f
|
|||
RM_REC ?= $(RM) -r
|
||||
ZIP ?= zip -q
|
||||
|
||||
ifeq ($(VERBOSE_BUILD),1)
|
||||
LS := ls -l
|
||||
else
|
||||
LS := true
|
||||
endif
|
||||
|
||||
#######################################################################
|
||||
# Misc stuff - you should never have to edit this #
|
||||
#######################################################################
|
||||
|
|
|
@ -125,6 +125,7 @@ endif
|
|||
# The build rule for the ScummVM executable
|
||||
$(EXECUTABLE): $(DETECT_OBJS) $(OBJS)
|
||||
+$(QUIET_LINK)$(LD) $(LDFLAGS) $(PRE_OBJS_FLAGS) $+ $(POST_OBJS_FLAGS) $(LIBS) -o $@
|
||||
+$(QUIET)$(LS) $@
|
||||
|
||||
ifdef SPLIT_DWARF
|
||||
$(EXECUTABLE).dwp: $(EXECUTABLE)
|
||||
|
|
1
rules.mk
1
rules.mk
|
@ -84,6 +84,7 @@ $(MODULE_LIB-$(MODULE)): $(MODULE_OBJS-$(MODULE))
|
|||
$(QUIET)-$(RM) $@
|
||||
$(QUIET_AR)$(AR) $@ $+
|
||||
$(QUIET_RANLIB)$(RANLIB) $@
|
||||
$(QUIET)$(LS) $@
|
||||
|
||||
# Pseudo target for comfort, allows for "make common", "make gui" etc.
|
||||
$(MODULE): $(MODULE_LIB-$(MODULE))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue