Moved the "all" target in plugin Makefiles before the "Implicit rules"

This commit is contained in:
Klaus Schmidinger
2007-08-15 13:20:04 +02:00
parent 0979904dfc
commit a551b5b124
25 changed files with 97 additions and 40 deletions

View File

@@ -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.

View File

@@ -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)

View File

@@ -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 <vdr/plugin.h>
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";