summaryrefslogtreecommitdiff
path: root/Make.config.template
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-12-22 12:08:31 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-12-22 12:08:31 +0100
commit0263c8261416ce27e1908c1e675c2e45614f31bc (patch)
tree7a9e240db3ddd27f75984ddb42023acb78535f91 /Make.config.template
parent4e87443a2dcf807f3a1931613a519a7c240bc717 (diff)
downloadvdr-0263c8261416ce27e1908c1e675c2e45614f31bc.tar.gz
vdr-0263c8261416ce27e1908c1e675c2e45614f31bc.tar.bz2
Plugin Makefiles now use DESTDIR and the 'install' program
Diffstat (limited to 'Make.config.template')
-rw-r--r--Make.config.template8
1 files changed, 5 insertions, 3 deletions
diff --git a/Make.config.template b/Make.config.template
index 3a4e3842..a2cc6976 100644
--- a/Make.config.template
+++ b/Make.config.template
@@ -6,17 +6,19 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Make.config.template 2.11 2012/12/18 17:37:54 kls Exp $
+# $Id: Make.config.template 2.12 2012/12/22 10:54:47 kls Exp $
### The C compiler and options:
CC = gcc
CFLAGS = -g -O3 -Wall
-CFLAGS += -fPIC
CXX = g++
CXXFLAGS = $(CFLAGS) -Werror=overloaded-virtual -Wno-parentheses
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
+
# Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine:
ifdef M32
CFLAGS += -m32
@@ -25,7 +27,7 @@ endif
### The directory environment:
-PREFIX = $(DESTDIR)/usr/local
+PREFIX = /usr/local
#DVBDIR = /usr/src/v4l-dvb/linux
MANDIR = $(PREFIX)/man
BINDIR = $(PREFIX)/bin