diff options
Diffstat (limited to 'doc/examples/GNUmakefile')
-rw-r--r-- | doc/examples/GNUmakefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/examples/GNUmakefile b/doc/examples/GNUmakefile new file mode 100644 index 000000000..c386f4390 --- /dev/null +++ b/doc/examples/GNUmakefile @@ -0,0 +1,21 @@ + +BOTAN_CONFIG = botan-config + +CXX = g++ +CFLAGS = -O2 -ansi -W -Wall -I../build/include +LIBS = -L.. -lbotan + +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 $@ |