mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-19 19:39:26 +08:00
mdbx: add tutorial/sample-mdbx.c
and drop obsolete sample-mdb.txt
.
Also this is a testcase for https://github.com/leo-yuriev/libmdbx/issues/11. Change-Id: I95c876b1120c1479b2e740b43f6c60e2ac8b33c1
This commit is contained in:
5
Makefile
5
Makefile
@@ -53,10 +53,13 @@ TEST_OBJ := $(patsubst %.cc,%.o,$(TEST_SRC))
|
||||
|
||||
.PHONY: mdbx all install clean check coverage
|
||||
|
||||
all: $(LIBRARIES) $(TOOLS) test/test
|
||||
all: $(LIBRARIES) $(TOOLS) test/test example
|
||||
|
||||
mdbx: libmdbx.a libmdbx.so
|
||||
|
||||
example: mdbx.h tutorial/sample-mdbx.c libmdbx.so
|
||||
$(CC) $(CFLAGS) -I. tutorial/sample-mdbx.c ./libmdbx.so -o example
|
||||
|
||||
tools: $(TOOLS)
|
||||
|
||||
install: $(LIBRARIES) $(TOOLS) $(HEADERS)
|
||||
|
Reference in New Issue
Block a user