summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-02 20:20:36 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-02 20:20:36 +0000
commit91c3515c4913bb0b7813e7d1a10e1cb857e91db6 (patch)
treed38f86f0b62cbbab0cee9f526be781c9d106d33e
parentce9a6850ae0266f003ca768a553f0d70c1304a74 (diff)
downloadvdr-plugin-live-91c3515c4913bb0b7813e7d1a10e1cb857e91db6.tar.gz
vdr-plugin-live-91c3515c4913bb0b7813e7d1a10e1cb857e91db6.tar.bz2
- made "all" the default target
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ff1194e..901b277 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.2 2007/01/02 19:37:57 thomas Exp $
+# $Id: Makefile,v 1.3 2007/01/02 20:20:36 lordjaxom Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -60,6 +60,12 @@ OBJS = $(PLUGIN).o thread.o tntconfig.o setup.o
WEBS = channels.o schedule.o
+### Default rules:
+
+.PHONY: all dist clean SUBDIRS
+
+all: libvdr-$(PLUGIN).so libtnt-$(PLUGIN).so
+
### Implicit rules:
%.o: %.cpp
@@ -91,15 +97,11 @@ $(DEPFILE): Makefile
### Targets:
-.PHONY: all dist clean SUBDIRS
-
SUBDIRS:
@for dir in $(SUBDIRS); do \
make -C $$dir CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" lib$$dir.a ; \
done
-all: libvdr-$(PLUGIN).so libtnt-$(PLUGIN).so
-
libvdr-$(PLUGIN).so: $(OBJS) SUBDIRS
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)