From d4559b558caf85a3a19ef9c36198936fc7f8d734 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Sat, 6 Mar 2010 06:09:38 +0000 Subject: Fix to compile plugins with VDR >= 1.7.13 --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5093191..e0f45f2 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,12 @@ #FFMDIR = ../../../../ffmpeg +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. +# +PLUGIN = image + ### The C++ compiler and options: CXX ?= g++ @@ -44,12 +50,6 @@ TMPDIR = /tmp -include $(VDRDIR)/Make.config -# The official name of this plugin. -# This name will be used in the '-P...' option of VDR to load the plugin. -# By default the main source file also carries this name. -# -PLUGIN = image - ### The version number of this plugin (taken from the main source file): VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') @@ -182,7 +182,7 @@ subdirs: @for i in $(SUBDIRS) ;\ do \ ( cd $$i;\ - $(MAKE) all;\ + $(MAKE) all PLUGIN=$(PLUGIN);\ ) \ || exit 1;\ done -- cgit v1.2.3