summaryrefslogtreecommitdiff
path: root/PLUGINS/src/osddemo
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-18 12:40:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-18 12:40:17 +0100
commitfbe4f2a0568a1bf893f2bf970edcbb3d345e5db5 (patch)
treef6fe25555abc1fbcce6e2d62030fcdfbf632562e /PLUGINS/src/osddemo
parent6469b666bd15110091da0a23a3f4e25a481b0ef7 (diff)
downloadvdr-fbe4f2a0568a1bf893f2bf970edcbb3d345e5db5.tar.gz
vdr-fbe4f2a0568a1bf893f2bf970edcbb3d345e5db5.tar.bz2
Some improvements to the Makefiles
Diffstat (limited to 'PLUGINS/src/osddemo')
-rw-r--r--PLUGINS/src/osddemo/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile
index d93d802d..d192b4ae 100644
--- a/PLUGINS/src/osddemo/Makefile
+++ b/PLUGINS/src/osddemo/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 2.3 2011/02/27 10:05:01 kls Exp $
+# $Id: Makefile 2.4 2012/01/18 12:17:23 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -20,9 +20,9 @@ CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses
### The directory environment:
-VDRDIR = ../../..
-LIBDIR = ../../lib
-TMPDIR = /tmp
+VDRDIR ?= ../../..
+LIBDIR ?= ../../lib
+TMPDIR ?= /tmp
### Make sure that necessary options are included:
@@ -62,7 +62,7 @@ all: libvdr-$(PLUGIN).so
# Dependencies:
-MAKEDEP = g++ -MM -MG
+MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@