From 91c3515c4913bb0b7813e7d1a10e1cb857e91db6 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Tue, 2 Jan 2007 20:20:36 +0000 Subject: - made "all" the default target --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3