From 11b22d9f33d50f20cba1eaee2aadb55d3580d879 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Thu, 2 Dec 2010 09:48:23 +0100 Subject: Streamdev 0.5.0-rc1 --- tools/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tools/Makefile (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile new file mode 100644 index 0000000..f5673db --- /dev/null +++ b/tools/Makefile @@ -0,0 +1,34 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id: Makefile,v 1.1.2.1 2010/06/14 10:40:31 schmirl Exp $ + +### The object files (add further files here): + +OBJS = select.o socket.o source.o tools.o + +### The main target: + +.PHONY: clean +sockettools.a: $(OBJS) + ar -rcs sockettools.a $(OBJS) + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies + +$(DEPFILE): Makefile + @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Targets: + +clean: + @-rm -f $(OBJS) $(DEPFILE) *.a core* *~ -- cgit v1.2.3