<commit_before>
ifdef WITH_OPENMP
  CFLAGS += -fopenmp -DWITH_OPENMP
  LDFLAGS += -fopenmp
endif

CFLAGS += -std=c99 -O3 -g -Wall -Werror -Wextra -pedantic
LDLIBS += -lcrypto

all: testfastpbkdf2 bench benchmulti

testfastpbkdf2: fastpbkdf2.o testfastpbkdf2.o

bench: bench.o fastpbkdf2.o
benchmulti: benchmulti.o fastpbkdf2.o

test: testfastpbkdf2
	./testfastpbkdf2

runbench: bench benchmulti
	./bench
	./benchmulti

clean:
	rm -f *.o testfastpbkdf2<commit_msg>Build static library for convenience<commit_after>
ifdef WITH_OPENMP
  CFLAGS += -fopenmp -DWITH_OPENMP
  LDFLAGS += -fopenmp
endif

CFLAGS += -std=c99 -O3 -g -Wall -Werror -Wextra -pedantic
LDLIBS += -lcrypto

all: testfastpbkdf2 libfastpbkdf2.a bench benchmulti

testfastpbkdf2: fastpbkdf2.o testfastpbkdf2.o

libfastpbkdf2.a: fastpbkdf2.o
	$(AR) r $@ $^

bench: bench.o fastpbkdf2.o
benchmulti: benchmulti.o fastpbkdf2.o

test: testfastpbkdf2
	./testfastpbkdf2

runbench: bench benchmulti
	./bench
	./benchmulti

clean:
	rm -f *.o testfastpbkdf2
{'fraction_non_alphanumeric': 0.09990108803165183, 'fraction_numerical': 0.026706231454005934, 'mean_word_length': 4.243523316062176, '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': '3964837', 'n_tokens_mistral': 433, 'n_tokens_neox': 426, 'n_words': 98}