summaryrefslogtreecommitdiff
path: root/css/Makefile
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-01-03 18:22:47 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-01-03 18:22:47 +0000
commitf290227150bb13c72c87012e20a9ff7959f31a5f (patch)
treeb327aa93f52d5b373702eebb5e2d7e1882f7923a /css/Makefile
parente086df75301b2d17a3f6caacfa735d4c705b878b (diff)
downloadvdr-plugin-live-f290227150bb13c72c87012e20a9ff7959f31a5f.tar.gz
vdr-plugin-live-f290227150bb13c72c87012e20a9ff7959f31a5f.tar.bz2
Moved *.ecpp to pages and *.css to css subdir, added images dir
Diffstat (limited to 'css/Makefile')
-rw-r--r--css/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/css/Makefile b/css/Makefile
new file mode 100644
index 0000000..006548e
--- /dev/null
+++ b/css/Makefile
@@ -0,0 +1,39 @@
+CXX ?= g++
+AR ?= ar
+ECPPC ?= ecppc
+
+CXXFLAGS ?= -O2 -Woverloaded-virtual -Wall -fPIC
+
+CXXFLAGS += `tntnet-config --cxxflags`
+LDFLAGS += `tntnet-config --libs`
+
+INCLUDES += -I..
+
+### The directory environment:
+VDRDIR ?= ../../../..
+
+### The object files (add further files here):
+
+OBJS = styles.o
+
+### Default rules:
+
+.PHONY: all clean
+
+### Implicit rules:
+
+%.o: %.cpp
+ $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+
+%.cpp: %.css
+ $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CSS) -b $<
+
+### Targets:
+
+all: libcss.a
+
+libcss.a: $(OBJS)
+ $(AR) r $@ $^
+
+clean:
+ @rm -f *~ *.o core* libcss.a $(OBJS:%.o=%.cpp)