mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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
This commit is contained in:
parent
354770088e
commit
a796260a6b
40 changed files with 245 additions and 445 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue