aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/GNUmakefile
blob: 23045961ed7281d9a6c2981efa78d1054a15e62e (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

BOTAN_CONFIG = botan-config

CXX       = g++
CFLAGS    = -O2 -ansi -W -Wall -I../../build/include
LIBS      = -L../.. -lbotan-1.10

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: asio_tls_server.cpp
	$(CXX) $(CFLAGS) $? $(LIBS) -lboost_thread -lboost_system -o $@