Makefile.in
changeset 8876 60edb019f0fe
parent 8829 6ed74a27066a
child 9769 4716db508b0d
     1.1 --- a/Makefile.in	Wed Jun 18 10:04:21 2014 -0300
     1.2 +++ b/Makefile.in	Thu Jun 19 00:40:09 2014 -0400
     1.3 @@ -42,6 +42,15 @@
     1.4  SRC_DIST = *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake configure configure.in debian include Makefile.* sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in src test VisualC.html VisualC Xcode Xcode-iOS
     1.5  GEN_DIST = SDL2.spec
     1.6  
     1.7 +ifneq ($V,1)
     1.8 +RUN_CMD_AR     = @echo "  AR    " $@;
     1.9 +RUN_CMD_CC     = @echo "  CC    " $@;
    1.10 +RUN_CMD_CXX    = @echo "  CXX   " $@;
    1.11 +RUN_CMD_LTLINK = @echo "  LTLINK" $@;
    1.12 +RUN_CMD_RANLIB = @echo "  RANLIB" $@;
    1.13 +LIBTOOL += --quiet
    1.14 +endif
    1.15 +
    1.16  HDRS = \
    1.17  	SDL.h \
    1.18  	SDL_assert.h \
    1.19 @@ -129,15 +138,15 @@
    1.20  .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d)
    1.21  
    1.22  $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
    1.23 -	$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.24 +	$(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.25  
    1.26  $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
    1.27 -	$(AR) cru $@ $(SDLMAIN_OBJECTS)
    1.28 -	$(RANLIB) $@
    1.29 +	$(RUN_CMD_AR)$(AR) cru $@ $(SDLMAIN_OBJECTS)
    1.30 +	$(RUN_CMD_RANLIB)$(RANLIB) $@
    1.31  
    1.32  $(objects)/$(SDLTEST_TARGET): $(SDLTEST_OBJECTS)
    1.33 -	$(AR) cru $@ $(SDLTEST_OBJECTS)
    1.34 -	$(RANLIB) $@
    1.35 +	$(RUN_CMD_AR)$(AR) cru $@ $(SDLTEST_OBJECTS)
    1.36 +	$(RUN_CMD_RANLIB)$(RANLIB) $@
    1.37  
    1.38  install: all install-bin install-hdrs install-lib install-data
    1.39  install-bin: