PROGS=ddosproof testperf testsha PNGS=howitworks.png sequence.png .SUFFIXES: .o .tex .tlcc .cc .png .uml all: $(PROGS) principle.pdf ddosproof: ddosproof.tlcc util.o cctlcc -Wall -O2 ddosproof.tlcc util.o -o ddosproof -lcrypto -lstdc++ util.o: util.tlcc cctlcc -Wall -O2 -c util.tlcc -o util.o testperf: testperf.tlcc cctlcc -Wall -O2 testperf.tlcc -o testperf -lstdc++ testsha: testsha.cc g++ -Wall -O2 testsha.cc -o testsha -lcrypto principle.pdf: principle.tex $(PNGS) pdflatex principle.tex .uml.png: plantuml $< clean: rm -f *.o $(PROGS) installweb: cp -f *.php *.tmpl *.html /var/www/html/trunk/.