Commit e262e147 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Move db-scan up one level. [t:1904]

git-svn-id: file:///svn/toku/tokudb@13649 c7de825b-a66e-492c-adef-691d508d4ae1
parent dff10fb4
default: db-insert db-insert-bdb
CPPFLAGS = -I../include
LDFLAGS = -L../.. -lfractaltreeindex -Wl,-rpath,../..
CPPFLAGS = -I./include
LDFLAGS = -L.. -lfractaltreeindex -Wl,-rpath,..
db-insert-bdb: db-insert.c
cc -ldb db-insert.c -o db-insert-bdb -DBDB
default: db-insert
......
......@@ -85,7 +85,7 @@ static void do_prelock(DB* db, DB_TXN* txn) {
#define STRINGIFY2(s) #s
#define STRINGIFY(s) STRINGIFY2(s)
const char *dbdir = "../bench." STRINGIFY(DIRSUF);
const char *dbdir = "./bench." STRINGIFY(DIRSUF);
char *dbfilename = "bench.db";
char *dbname;
......
DIRSUF = db
CPPFLAGS = -I../include -DDIRSUF=$(DIRSUF)
LDFLAGS = -L../.. -lfractaltreeindex -Wl,-rpath,../..
default: db-scan
clean:
rm -rf db-scan bench.$(DIRSUF)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment