summaryrefslogtreecommitdiff
path: root/Make.config
diff options
context:
space:
mode:
Diffstat (limited to 'Make.config')
-rw-r--r--Make.config5
1 files changed, 4 insertions, 1 deletions
diff --git a/Make.config b/Make.config
index 52ed6a6..b8b635e 100644
--- a/Make.config
+++ b/Make.config
@@ -48,9 +48,12 @@ APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDI
INCLUDES += -I$(VDRDIR)/include
+ifdef DEBUG
+DEFINES = -DDEBUG
+endif
+
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
DEFINES += -DPLUGINDIR=\"$(VDRPLUGINLIBDIR)\"
-
# export to subplugins makefiles:
export PRESTRIP VERSION APIVERSION INCLUDES SHAREDDEFINES SHAREDLIBS CXX CXXFLAGS VDRDIR VDRINCDIR LIBDIR TMPDIR VDRPLUGINLIBDIR