summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--libsi/Makefile13
3 files changed, 13 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 712eaf0c..5b9360cb 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2492,6 +2492,7 @@ Tobias Grimm <tobias.grimm@e-tobi.net>
for adding a manual page for 'svdrpsend'
for adding a missing dependency to the Makefile to avoid error messages in the
clean-plugins target
+ for adding optional verbose output to the libsi Makefile
Helge Lenz <h.lenz@gmx.de>
for reporting a bug in setting the 'Delta' parameter when calling the shutdown
diff --git a/HISTORY b/HISTORY
index adb28d59..02348c84 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9477,3 +9477,4 @@ Video Disk Recorder Revision History
- Added handling shared PMT pids and multiple PMT sections (thanks to Helmut Binder).
- Changed the country code in the generated ParentalRatingDescriptor from 'DEU' to
'902' to make it valid for all countries (thanks to Helmut Binder).
+- Added optional verbose output to the libsi Makefile (thanks to Tobias Grimm).
diff --git a/libsi/Makefile b/libsi/Makefile
index e0f9cb0e..b6b45477 100644
--- a/libsi/Makefile
+++ b/libsi/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a libsi
#
-# $Id: Makefile 4.2 2017/05/29 08:33:15 kls Exp $
+# $Id: Makefile 4.3 2020/06/22 14:31:10 kls Exp $
### The archiver options:
@@ -11,6 +11,15 @@ RANLIB ?= ranlib
-include ../Make.config
+# Output control
+
+ifdef VERBOSE
+Q =
+else
+Q = @
+endif
+export Q
+
### The object files (add further files here):
OBJS = util.o si.o section.o descriptor.o
@@ -19,7 +28,7 @@ OBJS = util.o si.o section.o descriptor.o
%.o: %.c
@echo CC libsi/$@
- @$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+ $(Q)$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<
### Dependencies: