summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-10-04 20:47:58 +0000
committerlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-10-04 20:47:58 +0000
commit44cd4c0319c75d4315fe0554d701effe77680776 (patch)
treeaf037733af84b3a217256e2269ee5df2bcff22d6 /Makefile
parent50075887187e1801f3d3425f20a6b6127ffd7ff8 (diff)
downloadvdr-plugin-muggle-44cd4c0319c75d4315fe0554d701effe77680776.tar.gz
vdr-plugin-muggle-44cd4c0319c75d4315fe0554d701effe77680776.tar.bz2
Added a patch to correct minor errors. Further, remove using namespace directives in order to remain compatible with g++ 2.95.4
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@200 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a8fd95b..14de5fd 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ INCLUDES += -I$(VDRDIR) -I$(VDRDIR)/include -I$(DVBDIR)/include \
#DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DHAVE_VORBISFILE
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -D_GNU_SOURCE
MIFLAGS += -I/usr/include/taglib -lmysqlclient
### The object files (add further files here):
@@ -60,7 +61,7 @@ all: libvdr-$(PLUGIN).so mugglei
# Dependencies:
-MAKEDEP = g++ -MM -MG
+MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
@@ -88,5 +89,5 @@ dist: clean
@echo Distribution package created as $(PACKAGE).tgz
clean:
- @-rm -f $(OBJS) $(BINOBJS) $(DEPFILE) *.so *.tgz core* *~
+ @-rm -f $(OBJS) $(BINOBJS) $(DEPFILE) *.so *.tgz core* *~ mugglei.o mugglei