Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1c8e8e252faf81796d1ae3c5cd1eea1a > files > 234

botan-devel-1.8.11-2.fc15.i686.rpm


BOTAN_CONFIG = botan-config

CXX       = g++
CFLAGS    = -O2 -ansi -W -Wall $(shell $(BOTAN_CONFIG) --cflags)
LIBS      = $(shell $(BOTAN_CONFIG) --libs)

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 $@