summaryrefslogtreecommitdiff
path: root/tools/make.inc
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-27 21:48:06 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-27 21:48:06 +0000
commita796260a6b9929f6aca844b4a788a2f55ef60d4b (patch)
tree21d3f983c2e618806cf6f160c67f7efd053061f0 /tools/make.inc
parent354770088e87c3aa8720f462fe3ac8368d7de5b5 (diff)
downloadrockbox-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 'tools/make.inc')
-rw-r--r--tools/make.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/make.inc b/tools/make.inc
index e2430a2b6b..8d75326bf0 100644
--- a/tools/make.inc
+++ b/tools/make.inc
@@ -3,16 +3,15 @@
3ifndef V 3ifndef V
4SILENT=@ 4SILENT=@
5endif 5endif
6PRINTS=$(info $(1))$(SILENT)
6 7
7$(OBJDIR)/%.o: %.c 8$(OBJDIR)/%.o: %.c
8 $(SILENT)mkdir -p $(dir $@) 9 $(SILENT)mkdir -p $(dir $@)
9 @echo "CC $<" 10 $(call PRINTS,CC $<)$(CC) $(CFLAGS) -c $< -o $@
10 $(SILENT)$(CC) $(CFLAGS) -c $< -o $@
11 11
12$(OBJDIR)/%.o: %.S 12$(OBJDIR)/%.o: %.S
13 $(SILENT)mkdir -p $(dir $@) 13 $(SILENT)mkdir -p $(dir $@)
14 @echo "CC $<" 14 $(call PRINTS,CC $<)$(CC) $(CFLAGS) -c $< -o $@
15 $(SILENT)$(CC) $(CFLAGS) -c $< -o $@
16 15
17# The echo stuff last in the dep update shell magic is to prevent any compiler 16# The echo stuff last in the dep update shell magic is to prevent any compiler
18# errors/warnings to cause an error code to get returned and thus stop the 17# errors/warnings to cause an error code to get returned and thus stop the