/[H9]/trunk/tntnet/dynamic/Makefile
ViewVC logotype

Contents of /trunk/tntnet/dynamic/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71 - (show annotations) (download)
Tue Nov 27 17:08:11 2007 UTC (16 years, 5 months ago) by torben
File size: 601 byte(s)
Getting closer towards a working solution :)

1 flisfyr.so: index.o header.o footer.o critical.o customerlist.o
2 $(CXX) -o $@ $(LDFLAGS) $^
3
4 SUFFIXES=.ecpp .gif .jpg .css .js
5 ECPPC=/usr/bin/ecppc
6 CXXFLAGS+=`tntnet-config --cxxflags` -fPIC -O2
7 LDFLAGS+=-shared `tntnet-config --libs` -ltntdb -lgd gd-cpp/libgdpp.a
8
9 %.cpp: %.ecpp
10 $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CPP) $<
11 %.cpp: %.gif
12 $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_GIF) -b $<
13 %.cpp: %.jpg
14 $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_JPG) -b $<
15 %.cpp: %.css
16 $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_CSS) -b $<
17 %.cpp: %.js
18 $(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_JS) -b $<
19
20 .PHONY: clean
21
22 clean:
23 rm -f *.o *~ *.so

  ViewVC Help
Powered by ViewVC 1.1.20