summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-01-07 14:59:04 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-01-07 14:59:04 +0100
commitb97736a0a89ecbc3aa2ece133cc0a4839bd1e043 (patch)
treee4e5ae12f626bbabf8f469491d4a07b76418616e /Makefile
parentb17bb75da5810312f1c29d93d92931a4a0fc87f5 (diff)
downloadvdr-plugin-dxr3-b97736a0a89ecbc3aa2ece133cc0a4839bd1e043.tar.gz
vdr-plugin-dxr3-b97736a0a89ecbc3aa2ece133cc0a4839bd1e043.tar.bz2
better singleton template
With the old singleton pattern it could happen that two instances are created. See... static T& Instance() { static T m_Instance; return m_Instance; } static T* InstanceP() { static T* m_InstanceP = new T; return m_InstanceP; }
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0efa259..d8183a6 100644
--- a/Makefile
+++ b/Makefile
@@ -20,10 +20,10 @@ CXXFLAGS = -O2 -Wall -Woverloaded-virtual
### The directory environment:
-VDRDIR = ../../..
-LIBDIR = ../../lib
+VDRDIR = /usr/include/vdr
+LIBDIR = .
TMPDIR = /tmp
-FFMDIR = /usr/local/include/ffmpeg
+FFMDIR = /usr//include/libavcodec
EM8300 = /usr/include
### Allow user defined options to overwrite defaults: