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 --- apps/plugins/bitmaps/Makefile | 34 ----------------------------- apps/plugins/bitmaps/mono/Makefile | 3 +-- apps/plugins/bitmaps/native/Makefile | 3 +-- apps/plugins/bitmaps/remote_mono/Makefile | 3 +-- apps/plugins/bitmaps/remote_native/Makefile | 3 +-- 5 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 apps/plugins/bitmaps/Makefile (limited to 'apps/plugins/bitmaps') diff --git a/apps/plugins/bitmaps/Makefile b/apps/plugins/bitmaps/Makefile deleted file mode 100644 index abc8fd66bf..0000000000 --- a/apps/plugins/bitmaps/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# __________ __ ___. -# Open \______ \ ____ ____ | | _\_ |__ _______ ___ -# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / -# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < -# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ -# \/ \/ \/ \/ \/ -# $Id$ -# - -ifndef V -SILENT=@ -endif - -all: -ifneq ($(strip $(BMP2RB_NATIVE)),) - @echo "MAKE in plugins/bitmaps/native" - $(SILENT)mkdir -p $(OBJDIR)/native - @$(MAKE) -C native OBJDIR=$(OBJDIR)/native -endif -ifneq ($(strip $(BMP2RB_MONO)),) - @echo "MAKE in plugins/bitmaps/mono" - $(SILENT)mkdir -p $(OBJDIR)/mono - @$(MAKE) -C mono OBJDIR=$(OBJDIR)/mono -endif -ifneq ($(strip $(BMP2RB_REMOTENATIVE)),) - @echo "MAKE in plugins/bitmaps/remote_native" - $(SILENT)mkdir -p $(OBJDIR)/remote_native - @$(MAKE) -C remote_native OBJDIR=$(OBJDIR)/remote_native -endif -ifneq ($(strip $(BMP2RB_REMOTEMONO)),) - @echo "MAKE in plugins/bitmaps/remote_mono" - $(SILENT)mkdir -p $(OBJDIR)/remote_mono - @$(MAKE) -C remote_mono OBJDIR=$(OBJDIR)/remote_mono -endif diff --git a/apps/plugins/bitmaps/mono/Makefile b/apps/plugins/bitmaps/mono/Makefile index 7b7e052117..03eb77a55b 100644 --- a/apps/plugins/bitmaps/mono/Makefile +++ b/apps/plugins/bitmaps/mono/Makefile @@ -26,8 +26,7 @@ BMPINCDIR = $(BUILDDIR)/pluginbitmaps include $(TOOLSDIR)/makebmp.inc clean: - @echo "cleaning plugins/bitmaps/mono" - @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + $(call PRINTS,cleaning plugins/bitmaps/mono)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) @rmdir $(OBJDIR) -include $(DEPFILE) diff --git a/apps/plugins/bitmaps/native/Makefile b/apps/plugins/bitmaps/native/Makefile index d7745ee9e2..071f0d4ba1 100644 --- a/apps/plugins/bitmaps/native/Makefile +++ b/apps/plugins/bitmaps/native/Makefile @@ -26,8 +26,7 @@ BMPINCDIR = $(BUILDDIR)/pluginbitmaps include $(TOOLSDIR)/makebmp.inc clean: - @echo "cleaning plugins/bitmaps/native" - @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + $(call PRINTS,cleaning plugins/bitmaps/native)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) @rmdir $(OBJDIR) -include $(DEPFILE) diff --git a/apps/plugins/bitmaps/remote_mono/Makefile b/apps/plugins/bitmaps/remote_mono/Makefile index db846e23a7..d3858fa46a 100644 --- a/apps/plugins/bitmaps/remote_mono/Makefile +++ b/apps/plugins/bitmaps/remote_mono/Makefile @@ -26,8 +26,7 @@ BMPINCDIR = $(BUILDDIR)/pluginbitmaps include $(TOOLSDIR)/makebmp.inc clean: - @echo "cleaning plugins/bitmaps/remotemono" - @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + $(call PRINTS,cleaning plugins/bitmaps/remotemono)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) @rmdir $(OBJDIR) -include $(DEPFILE) diff --git a/apps/plugins/bitmaps/remote_native/Makefile b/apps/plugins/bitmaps/remote_native/Makefile index 405f3fd5af..3802e75781 100644 --- a/apps/plugins/bitmaps/remote_native/Makefile +++ b/apps/plugins/bitmaps/remote_native/Makefile @@ -26,8 +26,7 @@ BMPINCDIR = $(BUILDDIR)/pluginbitmaps include $(TOOLSDIR)/makebmp.inc clean: - @echo "cleaning plugins/bitmaps/remote_native" - @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + $(call PRINTS,cleaning plugins/bitmaps/remote_native)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) @rmdir $(OBJDIR) -include $(DEPFILE) -- cgit v1.2.3