mailiverse/cpp/Lib/xcode-botan/Botan-1.10.3/doc/examples/GNUmakefile

22 lines
349 B
Makefile
Raw Normal View History

2013-07-25 22:51:23 -04:00
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 $@