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

@@ -35,3 +35,8 @@ VDR Plugin 'status' Revision History
2005-12-31: Version 0.2.0
- API change in cStatus.
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.

View File

@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
# $Id: Makefile 1.13 2006/09/09 12:38:35 kls Exp $
# $Id: Makefile 1.14 2007/08/15 13:06:17 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,13 +3,13 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: status.c 1.8 2005/12/31 15:19:45 kls Exp $
* $Id: status.c 1.9 2007/08/15 13:19:44 kls Exp $
*/
#include <vdr/plugin.h>
#include <vdr/status.h>
static const char *VERSION = "0.2.0";
static const char *VERSION = "0.2.1";
static const char *DESCRIPTION = "Status monitor test";
static const char *MAINMENUENTRY = NULL;