mariadb/release/examples/Makefile
Rich Prohaska 4b9a5ce35d closes[t:2646] run fractal tree examples with transactions (default)
git-svn-id: file:///svn/toku/tokudb@20531 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:15 -04:00

24 lines
561 B
Makefile

TARGETS = db-insert db-insert-bdb db-scan db-scan-bdb
CFLAGS = -g
CPPFLAGS = -I../include
LIBTOKUDB = tokudb
LDFLAGS = -L../lib -l$(LIBTOKUDB) -Wl,-rpath,../lib
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
check: $(TARGETS)
./db-insert -x && ./db-scan --lwc --prelock --prelockflag
checknox: $(TARGETS)
./db-insert && ./db-scan --nox --lwc --prelock --prelockflag
clean:
rm -rf $(TARGETS) bench.*