<commit_before>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

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
	if [ ! -f ../lib/lib$(LIBTOKUDB).so ] ; then cp ../../lib/lib$(LIBTOKUDB).so ../lib; fi

check: $(TARGETS)
	./db-insert && ./db-scan --nox --lwc --prelock --prelockflag

clean:
	rm -rf $(TARGETS) bench.*
<commit_msg>cleanup the release/examples/Makefile refs[t:2474]<commit_after>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 && ./db-scan --nox --lwc --prelock --prelockflag

clean:
	rm -rf $(TARGETS) bench.*

{'fraction_non_alphanumeric': 0.20565749235474007, 'fraction_numerical': 0.0030581039755351682, 'mean_word_length': 2.687323943661972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1650369', 'n_tokens_mistral': 582, 'n_tokens_neox': 575, 'n_words': 121}