blob: c06f52d6ec96795cf480c46b08f278de896642a3 (
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
|
# Assumes Botan was compiled with GCC
BOTAN_DIR = ../..
CXX = g++
CFLAGS = -O2 -ansi -W -Wall -Werror
INCLUDES = $(shell $(BOTAN_DIR)/botan-config --cflags)
LIBS = $(shell $(BOTAN_DIR)/botan-config --libs)
FLAGS = $(INCLUDES) $(CFLAGS) -I$(BOTAN_DIR)/build/include -L$(BOTAN_DIR)
SRCS=$(wildcard *.cpp)
PROGS=$(patsubst %.cpp,%,$(SRCS))
all: $(PROGS)
clean:
@rm -f $(PROGS)
%: %.cpp
$(CXX) $(FLAGS) $? $(LIBS) -o $@
eax_test: eax_test.cpp
$(CXX) $(FLAGS) $? $(LIBS) -lboost_regex -o $@
|