From b97736a0a89ecbc3aa2ece133cc0a4839bd1e043 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 7 Jan 2009 14:59:04 +0100 Subject: 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; } --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3