From a551b5b124c9c67227f7fde9f3f7e27ee2bd441a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 15 Aug 2007 13:20:04 +0200 Subject: Moved the "all" target in plugin Makefiles before the "Implicit rules" --- PLUGINS/src/osddemo/HISTORY | 5 +++++ PLUGINS/src/osddemo/Makefile | 8 +++++--- PLUGINS/src/osddemo/osddemo.c | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'PLUGINS/src/osddemo') diff --git a/PLUGINS/src/osddemo/HISTORY b/PLUGINS/src/osddemo/HISTORY index fd10cc3c..b0f300a4 100644 --- a/PLUGINS/src/osddemo/HISTORY +++ b/PLUGINS/src/osddemo/HISTORY @@ -12,3 +12,8 @@ VDR Plugin 'osddemo' Revision History 2004-04-30: Version 0.1.1 - New OSD handling. + +2007-08-15: Version 0.1.2 + +- Moved the "all" target in the Makefile before the "Implicit rules", + so that a plain "make" will compile everything. diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile index 71638887..568faa67 100644 --- a/PLUGINS/src/osddemo/Makefile +++ b/PLUGINS/src/osddemo/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.9 2006/09/09 12:38:35 kls Exp $ +# $Id: Makefile 1.10 2007/08/15 13:05:24 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' OBJS = $(PLUGIN).o +### The main target: + +all: libvdr-$(PLUGIN).so + ### Implicit rules: %.o: %.c @@ -63,8 +67,6 @@ $(DEPFILE): Makefile ### Targets: -all: libvdr-$(PLUGIN).so - libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c index 08b2d967..a4c0b8f8 100644 --- a/PLUGINS/src/osddemo/osddemo.c +++ b/PLUGINS/src/osddemo/osddemo.c @@ -3,12 +3,12 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: osddemo.c 1.3 2004/05/16 09:28:51 kls Exp $ + * $Id: osddemo.c 1.4 2007/08/15 13:17:55 kls Exp $ */ #include -static const char *VERSION = "0.1.1"; +static const char *VERSION = "0.1.2"; static const char *DESCRIPTION = "Demo of arbitrary OSD setup"; static const char *MAINMENUENTRY = "Osd Demo"; -- cgit v1.2.3