forked from len0rd/rockbox
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
|
|
@ -3,16 +3,15 @@
|
|||
ifndef V
|
||||
SILENT=@
|
||||
endif
|
||||
PRINTS=$(info $(1))$(SILENT)
|
||||
|
||||
$(OBJDIR)/%.o: %.c
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
@echo "CC $<"
|
||||
$(SILENT)$(CC) $(CFLAGS) -c $< -o $@
|
||||
$(call PRINTS,CC $<)$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
$(OBJDIR)/%.o: %.S
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
@echo "CC $<"
|
||||
$(SILENT)$(CC) $(CFLAGS) -c $< -o $@
|
||||
$(call PRINTS,CC $<)$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
# The echo stuff last in the dep update shell magic is to prevent any compiler
|
||||
# errors/warnings to cause an error code to get returned and thus stop the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue