From f290227150bb13c72c87012e20a9ff7959f31a5f Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Wed, 3 Jan 2007 18:22:47 +0000 Subject: Moved *.ecpp to pages and *.css to css subdir, added images dir --- css/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 css/Makefile (limited to 'css/Makefile') 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) -- cgit v1.2.3