summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-06-30 23:18:52 +0200
committerUoti Urpala <uau@mplayer2.org>2011-07-02 02:11:33 +0300
commit746f9b004038e09392b69abb3ba26b1cc32a90d7 (patch)
tree22b1a88c021a052611a9f3a2aee588df85970cac /Makefile
parentaf076c4055f2f6ec2be87a8e95cc353765dc90bf (diff)
downloadmpv-746f9b004038e09392b69abb3ba26b1cc32a90d7.tar.bz2
mpv-746f9b004038e09392b69abb3ba26b1cc32a90d7.tar.xz
Makefile: show brief build output by default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2d4775d4f7..1223409748 100644
--- a/Makefile
+++ b/Makefile
@@ -583,6 +583,13 @@ ADDSUFFIXES = $(foreach suf,$(1),$(addsuffix $(suf),$(2)))
ADD_ALL_DIRS = $(call ADDSUFFIXES,$(1),$(DIRS))
ADD_ALL_EXESUFS = $(1) $(call ADDSUFFIXES,$(EXESUFS_ALL),$(1))
+###### brief build output #######
+
+ifndef V
+$(eval override CC = @printf "CC\t$$@\n"; $(CC))
+$(eval override RM = @$(RM))
+endif
+
###### generic rules #######
all: $(ALL_PRG-yes) locales