summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-08 21:15:41 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-08 21:15:54 +0100
commitbb056e55b1374a72ed7784a461d027fbd6360b40 (patch)
tree160ec9e564197efb65e4115e3907094fdc75ba6e /Makefile
parent8b88e440905708ad9354fb72afff206d6208a760 (diff)
downloadnetsurf-bb056e55b1374a72ed7784a461d027fbd6360b40.tar.gz
netsurf-bb056e55b1374a72ed7784a461d027fbd6360b40.tar.bz2
Sort out the logging so that -v etc do the right thing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 146b2f7cb..d6723e046 100644
--- a/Makefile
+++ b/Makefile
@@ -575,6 +575,13 @@ CXXFLAGS += -DNETSURF_HOMEPAGE=\"$(NETSURF_HOMEPAGE)\"
CFLAGS += -DNETSURF_LOG_LEVEL=$(NETSURF_LOG_LEVEL)
CXXFLAGS += -DNETSURF_LOG_LEVEL=$(NETSURF_LOG_LEVEL)
+# and the logging filter
+CFLAGS += -DNETSURF_BUILTIN_LOG_FILTER=\"$(NETSURF_BUILTIN_LOG_FILTER)\"
+CXXFLAGS += -DNETSURF_BUILTIN_LOG_FILTER=\"$(NETSURF_BUILTIN_LOG_FILTER)\"
+# and the verbose logging filter
+CFLAGS += -DNETSURF_BUILTIN_VERBOSE_FILTER=\"$(NETSURF_BUILTIN_VERBOSE_FILTER)\"
+CXXFLAGS += -DNETSURF_BUILTIN_VERBOSE_FILTER=\"$(NETSURF_BUILTIN_VERBOSE_FILTER)\"
+
# ----------------------------------------------------------------------------
# General make rules
# ----------------------------------------------------------------------------