diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-06-22 14:31:10 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-06-22 14:31:10 +0200 |
commit | 73bcd869dcb869496dc04234092167ade8af6403 (patch) | |
tree | 9c320d16c41c89635049cc532f67426b7b681594 /libsi/Makefile | |
parent | 1dabb9b8c5db4752b61e537c20d951fc24507455 (diff) | |
download | vdr-73bcd869dcb869496dc04234092167ade8af6403.tar.gz vdr-73bcd869dcb869496dc04234092167ade8af6403.tar.bz2 |
Added optional verbose output to the libsi Makefile
Diffstat (limited to 'libsi/Makefile')
-rw-r--r-- | libsi/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
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: |