diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-02 20:20:36 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-02 20:20:36 +0000 |
commit | 91c3515c4913bb0b7813e7d1a10e1cb857e91db6 (patch) | |
tree | d38f86f0b62cbbab0cee9f526be781c9d106d33e | |
parent | ce9a6850ae0266f003ca768a553f0d70c1304a74 (diff) | |
download | vdr-plugin-live-91c3515c4913bb0b7813e7d1a10e1cb857e91db6.tar.gz vdr-plugin-live-91c3515c4913bb0b7813e7d1a10e1cb857e91db6.tar.bz2 |
- made "all" the default target
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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) |