summaryrefslogtreecommitdiff
path: root/pagelib/Makefile
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 15:02:00 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 15:02:00 +0000
commit64eaee28c243214e654c60b06a27212e8dcb5c02 (patch)
tree21b264c07166720513b65638feeb8fc3344530ec /pagelib/Makefile
parent4bfb50c7a53074fa7e4673ffdd16502c1bf72fcb (diff)
downloadvdr-plugin-live-64eaee28c243214e654c60b06a27212e8dcb5c02.tar.gz
vdr-plugin-live-64eaee28c243214e654c60b06a27212e8dcb5c02.tar.bz2
- optimized interface to access plugin objects from website
- moved website code to pagelib subdirectory - introduced TimerManager that will help working on timers from a background thread
Diffstat (limited to 'pagelib/Makefile')
-rw-r--r--pagelib/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/pagelib/Makefile b/pagelib/Makefile
new file mode 100644
index 0000000..6c91953
--- /dev/null
+++ b/pagelib/Makefile
@@ -0,0 +1,33 @@
+CXX ?= g++
+AR ?= ar
+
+CXXFLAGS ?= -O2 -Woverloaded-virtual -Wall -fPIC
+
+INCLUDES += -I.. -I$(VDRDIR)/include
+
+### The directory environment:
+
+VDRDIR ?= ../../../..
+
+### The object files (add further files here):
+
+OBJS = sortedtimers.o tools.o
+
+### Default rules:
+
+.PHONY: all clean
+
+all: libpagelib.a
+
+### Implicit rules:
+
+%.o: %.cpp
+ $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+
+### Targets:
+
+libpagelib.a: $(OBJS)
+ $(AR) r $@ $^
+
+clean:
+ @rm -f *~ *.o core* libpagelib.a