mailiverse/cpp/Lib/xcode-botan/Botan-1.10.3-clean/doc/examples/GNUmakefile
2013-07-25 22:51:23 -04:00

22 lines
349 B
Makefile

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