From a796260a6b9929f6aca844b4a788a2f55ef60d4b Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 27 Oct 2006 21:48:06 +0000 Subject: Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/Makefile | 8 +++----- uisimulator/sdl/Makefile | 13 +++++-------- 2 files changed, 8 insertions(+), 13 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/common/Makefile b/uisimulator/common/Makefile index aeec7c6951..ef68230153 100644 --- a/uisimulator/common/Makefile +++ b/uisimulator/common/Makefile @@ -47,12 +47,10 @@ all: $(OUTFILE) include $(TOOLSDIR)/make.inc clean: - @echo "cleaning commonsim" - @$(RM) $(OBJS) *~ core $(DEPFILE) $(OUTFILE) + $(call PRINTS,cleaning commonsim)$(RM) $(OBJS) *~ core $(DEPFILE) $(OUTFILE) $(OUTFILE): $(OBJS) - @echo "AR+RANLIB $(notdir $@)" - @$(AR) ruv $@ $(OBJS) >/dev/null 2>&1 - @$(RANLIB) $@ + $(call PRINTS,AR+RANLIB $(@F))$(AR) ruv $@ $(OBJS) >/dev/null 2>&1 + $(SILENT)$(RANLIB) $@ -include $(DEPFILE) diff --git a/uisimulator/sdl/Makefile b/uisimulator/sdl/Makefile index 55b94cec5e..7946ef31a2 100644 --- a/uisimulator/sdl/Makefile +++ b/uisimulator/sdl/Makefile @@ -49,19 +49,16 @@ all: $(OUTFILE) include $(TOOLSDIR)/make.inc $(OUTFILE): $(OBJS) $(BUILDDIR)/UI256.bmp - @echo "AR+RANLIB $(notdir $@)" - @$(AR) ruv $@ $(OBJS) >/dev/null 2>&1 - @$(RANLIB) $@ + $(call PRINTS,AR+RANLIB $(@F))$(AR) ruv $@ $(OBJS) >/dev/null 2>&1 + $(SILENT)$(RANLIB) $@ clean: - @echo "cleaning sim" - @$(RM) $(OBJS) *~ core $(OUTFILE) $(DEPFILE) \ + $(call PRINTS,cleaning sim)$(RM) $(OBJS) *~ core $(OUTFILE) $(DEPFILE) \ $(BUILDDIR)/UI256.bmp $(DEPFILE) - @$(MAKE) -C $(SIMCOMMON) clean + $(SILENT)$(MAKE) -C $(SIMCOMMON) clean ################## Specific dependencies ################## $(BUILDDIR)/UI256.bmp: UI-$(ARCHOS).bmp - @echo UI - @cp $< $@ + $(call PRINTS,UI)cp $< $@ -include $(DEPFILE) -- cgit v1.2.3