add multi

This commit is contained in:
bert hubert 2018-12-09 14:37:42 +01:00
parent 273c32435b
commit 348e9bd730
1 changed files with 5 additions and 2 deletions

View File

@ -2,12 +2,12 @@
LIBS=lmdb-LMDB_0.9.22/libraries/liblmdb/liblmdb.a
INCLUDES=-Ilmdb-LMDB_0.9.22/libraries/liblmdb
#LIBS=-llmdb
# LIBS=-llmdb
CXXFLAGS:=-std=gnu++17 -Wall -O2 -MMD -MP -ggdb -pthread $(INCLUDES) # -fsanitize=address -fno-omit-frame-pointer
CFLAGS:= -Wall -O2 -MMD -MP -ggdb
PROGRAMS = lmdb-test basic-example scale-example
PROGRAMS = lmdb-test basic-example scale-example multi-example
all: $(PROGRAMS)
@ -25,3 +25,6 @@ basic-example: basic-example.o lmdb-safe.o
scale-example: scale-example.o lmdb-safe.o
g++ -std=gnu++17 $^ -o $@ -pthread $(LIBS)
multi-example: multi-example.o lmdb-safe.o
g++ -std=gnu++17 $^ -o $@ -pthread $(LIBS)