<commit_before>CFLAGS = -Wall -W -O2 -Werror -g
runs: runs_mysql runs_installed
# the mysql versions use the header in the mysql distribution.
runs_mysql: ./sample_offsets_mysql
	./sample_offsets_mysql
runs_installed: sample_offsets
	./sample_offsets
sample_offsets_mysql: CPPFLAGS=-I../../mysql-5.0.27/mysql-5.0.27/mysql/build_unix/
sample_offsets_mysql: sample_offsets.c
	$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@

make_db_h.o: make_db_h.c sample_offsets_32.h sample_offsets_64.h
sample_offsets:
sample_offsets_local: ./db.h
sample_offsets_local: sample_offsets.c
	$(CC) $(CFLAGS) -I. -DLOCAL $< -o $@
 
db.h: make_db_h
	./make_db_h  > db.h
check32: sample_offsets_local
	./sample_offsets_local
	diff sample_offsets_local.h sample_offsets_32.h

install: db.h
	cp db.h ../include/

# Note: To make the ompile work, you must cd to the ../../mysql-5.0.27/mysql-5.0.27/bdb/build_unix
# and do ../dist/configure
<commit_msg>Fix include<commit_after>CFLAGS = -Wall -W -O2 -Werror -g
runs: runs_mysql runs_installed
# the mysql versions use the header in the mysql distribution.
runs_mysql: ./sample_offsets_mysql
	./sample_offsets_mysql
runs_installed: sample_offsets
	./sample_offsets
sample_offsets_mysql: CPPFLAGS=-I../../mysql-5.0.27/mysql-5.0.27/bdb/build_unix/
sample_offsets_mysql: sample_offsets.c
	$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@

make_db_h.o: make_db_h.c sample_offsets_32.h sample_offsets_64.h
sample_offsets:
sample_offsets_local: ./db.h
sample_offsets_local: sample_offsets.c
	$(CC) $(CFLAGS) -I. -DLOCAL $< -o $@
 
db.h: make_db_h
	./make_db_h  > db.h
check32: sample_offsets_local
	./sample_offsets_local
	diff sample_offsets_local.h sample_offsets_32.h

install: db.h
	cp db.h ../include/

# Note: To make the ompile work, you must cd to the ../../mysql-5.0.27/mysql-5.0.27/bdb/build_unix
# and do ../dist/configure

{'fraction_non_alphanumeric': 0.13347921225382933, 'fraction_numerical': 0.02735229759299781, 'mean_word_length': 4.166666666666667, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '2807121', 'n_tokens_mistral': 771, 'n_tokens_neox': 736, 'n_words': 155}