<commit_before>CC := gcc
OS := $(shell uname)
CFLAGS := -Werror -g
OBJDIR := obj
OBJ := roxanne_db.o tuple_bits.o hash_32.o
DEPS := roxanne_db.h
ifeq (${OS},Linux)
	LIBS := -lrt -lm
endif

default: dbr

dbr: $(OBJ) $(DEPS)
	gcc -o dbr $(OBJ) $(CFLAGS) $(LIBS)
	chmod 755 dbr

.PHONY: clean
clean:
	rm -rf dbr.dSYM dbr *.o 

install:
	install dbr /usr/local/bin
	install dbr_ctl /usr/local/bin<commit_msg>Update the Makefile to correctly link against libpthread on Linux systems<commit_after>CC := gcc
OS := $(shell uname)
CFLAGS := -Werror -g
OBJDIR := obj
OBJ := roxanne_db.o tuple_bits.o hash_32.o
DEPS := roxanne_db.h
ifeq (${OS},Linux)
	LIBS := -lrt -lm -lpthread
endif

default: dbr

dbr: $(OBJ) $(DEPS)
	gcc -o dbr $(OBJ) $(CFLAGS) $(LIBS)
	chmod 755 dbr

.PHONY: clean
clean:
	rm -rf dbr.dSYM dbr *.o 

install:
	install dbr /usr/local/bin
	install dbr_ctl /usr/local/bin
{'fraction_non_alphanumeric': 0.15148063781321183, 'fraction_numerical': 0.011389521640091117, 'mean_word_length': 3.700534759358289, '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': '4449164', 'n_tokens_mistral': 407, 'n_tokens_neox': 382, 'n_words': 112}