Commit 68c2163c authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

add setup and check rules. get rid of the private tokudb.h refs[t:2202]

git-svn-id: file:///svn/toku/tokudb@15982 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9ed47e02
TARGETS = db-insert db-insert-bdb db-scan db-scan-bdb
default: $(TARGETS)
CFLAGS = -g
CPPFLAGS = -I./include
LDFLAGS = -L.. -lfractaltreeindex -Wl,-rpath,..
default: $(TARGETS)
db-insert-bdb: db-insert.c
cc -ldb db-insert.c -o db-insert-bdb -DBDB $(CFLAGS)
db-scan-bdb: db-scan.c
cc -ldb db-scan.c -o db-scan-bdb -DBDB $(CFLAGS)
default: db-insert
setup:
cp ../../include/db.h include/tokudb.h
cp ../../include/tdb-internal.h include/tdb-internal.h
cp ../../toku_include/toku_list.h include/toku_list.h
check: $(TARGETS)
./db-insert && ./db-scan --lwc --prelock --prelockflag
clean:
rm -rf $(TARGETS) bench
This diff is collapsed.
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