diff options
Diffstat (limited to 'old/botan/doc/examples/GNUmakefile')
-rw-r--r-- | old/botan/doc/examples/GNUmakefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/old/botan/doc/examples/GNUmakefile b/old/botan/doc/examples/GNUmakefile new file mode 100644 index 0000000..d854c81 --- /dev/null +++ b/old/botan/doc/examples/GNUmakefile @@ -0,0 +1,21 @@ + +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 $@ |