1 |
flisfyr.so: index.o header.o footer.o critical.o customerlist.o login.o logout.o adm_customer_list.o adm_customer_edit.o adm_customer_delete.o adm_installation_list.o adm_installation_edit.o adm_installation_delete.o adm_user_list.o adm_user_edit.o adm_user_delete.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 |