summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent4e87443a2dcf807f3a1931613a519a7c240bc717 (diff)
downloadvdr-0263c8261416ce27e1908c1e675c2e45614f31bc.tar.gz
vdr-0263c8261416ce27e1908c1e675c2e45614f31bc.tar.bz2
Plugin Makefiles now use DESTDIR and the 'install' program
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3b8a7d76..3eb0240a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,20 +4,26 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 2.34 2012/12/21 11:56:29 kls Exp $
+# $Id: Makefile 2.35 2012/12/22 10:40:31 kls Exp $
.DELETE_ON_ERROR:
+# Compiler flags:
+
CC ?= gcc
-CFLAGS ?= -g -O3 -Wall -fPIC
-CFLAGS += -fPIC
+CFLAGS ?= -g -O3 -Wall
CXX ?= g++
CXXFLAGS ?= $(CFLAGS) -Werror=overloaded-virtual -Wno-parentheses
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
+
CDEFINES = -D_GNU_SOURCE
CDEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+# Directories:
+
CWD := $(shell pwd)
LSIDIR = ./libsi
DESTDIR ?=