blob: 947db8fecaf4fc1ca0c61087c4b5e129f13e8dc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
BOTAN_CONFIG = botan-config
CXX = g++-4.7.0
CFLAGS = -O2 -ansi -std=c++0x -W -Wall -I../../build/include
LIBS = -L../.. -lbotan-1.99
SRCS=$(wildcard *.cpp)
PROGS=$(patsubst %.cpp,%,$(SRCS))
all: $(PROGS)
clean:
@rm -f $(PROGS)
%: %.cpp
$(CXX) $(CFLAGS) $? $(LIBS) -o $@
eax_test: eax_test.cpp
$(CXX) $(CFLAGS) $? $(LIBS) -lboost_regex -o $@
asio_tls_server.o: asio_tls_server.cpp
g++-4.6.0 -c $(CFLAGS) -I/usr/local/asio-1.5.3/include $? -o $@
asio_tls_server: asio_tls_server.o
$(CXX) $? $(LIBS) -lboost_thread -lboost_system -lpthread -o $@
|