summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2010-02-28 20:31:14 +0100
committerChristian Wieninger <cwieninger@gmx.de>2010-02-28 20:31:14 +0100
commit534473e770c8d717c1e654892be4f86afbda7358 (patch)
tree86747a90fdd31fd3f1cff39c61fef6271615e34a
parentfeb26626d62d819ba402638de6cc03569e030f63 (diff)
downloadvdr-plugin-epgsearch-534473e770c8d717c1e654892be4f86afbda7358.tar.gz
vdr-plugin-epgsearch-534473e770c8d717c1e654892be4f86afbda7358.tar.bz2
support for VDR's Make.global
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a54270d..37adb02 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p
### The C++ compiler and options:
CXX ?= g++
-CXXFLAGS ?= -Wall -O2 -Woverloaded-virtual -Wno-format-y2k -fPIC
+CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -Wno-format-y2k
### The directory environment:
@@ -84,6 +84,10 @@ ifdef AUTOCONFIG
endif
endif
+### Make sure that necessary options are included:
+-include $(VDRDIR)/Make.global
+
+
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config