summaryrefslogtreecommitdiff
path: root/PLUGINS/src/hello
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-08-15 13:20:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-08-15 13:20:04 +0200
commita551b5b124c9c67227f7fde9f3f7e27ee2bd441a (patch)
treef8957e4b5ecf10a202c731bad79162c7a7b0f42e /PLUGINS/src/hello
parent0979904dfca6da24d45d06f9c2e9a692d56eb150 (diff)
downloadvdr-a551b5b124c9c67227f7fde9f3f7e27ee2bd441a.tar.gz
vdr-a551b5b124c9c67227f7fde9f3f7e27ee2bd441a.tar.bz2
Moved the "all" target in plugin Makefiles before the "Implicit rules"
Diffstat (limited to 'PLUGINS/src/hello')
-rw-r--r--PLUGINS/src/hello/HISTORY5
-rw-r--r--PLUGINS/src/hello/Makefile8
-rw-r--r--PLUGINS/src/hello/hello.c4
3 files changed, 12 insertions, 5 deletions
diff --git a/PLUGINS/src/hello/HISTORY b/PLUGINS/src/hello/HISTORY
index 2d770b88..d4c9d378 100644
--- a/PLUGINS/src/hello/HISTORY
+++ b/PLUGINS/src/hello/HISTORY
@@ -53,3 +53,8 @@ VDR Plugin 'hello' Revision History
2007-08-11: Version 0.2.0
- Switched to 'gettext' internationalization.
+
+2007-08-15: Version 0.2.1
+
+- Moved the "all" target in the Makefile before the "Implicit rules",
+ so that a plain "make" will compile everything.
diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile
index e78b6e1a..389d1e04 100644
--- a/PLUGINS/src/hello/Makefile
+++ b/PLUGINS/src/hello/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 1.16 2007/08/11 10:18:16 kls Exp $
+# $Id: Makefile 1.17 2007/08/15 13:04:37 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -49,6 +49,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
OBJS = $(PLUGIN).o
+### The main target:
+
+all: libvdr-$(PLUGIN).so i18n
+
### Implicit rules:
%.o: %.c
@@ -90,8 +94,6 @@ i18n: $(I18Nmo)
### Targets:
-all: libvdr-$(PLUGIN).so i18n
-
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
diff --git a/PLUGINS/src/hello/hello.c b/PLUGINS/src/hello/hello.c
index 96403389..273217e0 100644
--- a/PLUGINS/src/hello/hello.c
+++ b/PLUGINS/src/hello/hello.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: hello.c 1.13 2007/08/11 09:31:17 kls Exp $
+ * $Id: hello.c 1.14 2007/08/15 13:17:16 kls Exp $
*/
#include <getopt.h>
@@ -12,7 +12,7 @@
#include <vdr/interface.h>
#include <vdr/plugin.h>
-static const char *VERSION = "0.2.0";
+static const char *VERSION = "0.2.1";
static const char *DESCRIPTION = trNOOP("A friendly greeting");
static const char *MAINMENUENTRY = trNOOP("Hello");