diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-10-27 21:48:06 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-10-27 21:48:06 +0000 |
commit | a796260a6b9929f6aca844b4a788a2f55ef60d4b (patch) | |
tree | 21d3f983c2e618806cf6f160c67f7efd053061f0 /uisimulator | |
parent | 354770088e87c3aa8720f462fe3ac8368d7de5b5 (diff) | |
download | rockbox-a796260a6b9929f6aca844b4a788a2f55ef60d4b.tar.gz rockbox-a796260a6b9929f6aca844b4a788a2f55ef60d4b.zip |
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
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/common/Makefile | 8 | ||||
-rw-r--r-- | uisimulator/sdl/Makefile | 13 |
2 files changed, 8 insertions, 13 deletions
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) |