<commit_before>
CFLAGS = -fPIC -O3 -Wall -g
CINCL  = -Isrc -Ideps/discodb/src -Isrc/xxhash/
CLIBS  = -Llib $(foreach L,discodb Judy cmph m,-l$(L))
CHDRS  = $(wildcard src/*.h)
CSRCS  = $(wildcard src/*.c src/dsfmt/dSFMT.c src/xxhash/*.c)
COBJS  = $(patsubst %.c,%.o,$(CSRCS))

PYTHON = python

.PHONY: all bins libs clean python
.PHONY: deps/discodb/src

all: libs bins

bins: bin/encode bin/index bin/extractd bin/mix

libs: lib/libdiscodb.a lib/libtraildb.a lib/libtraildb.so

clean:
	rm -f $(COBJS)
	rm -f bin/encode bin/index bin/mix
	rm -f lib/libtraildb.*

#bin/extractd: src/bin/extractd/*.c $(COBJS)
#	$(CC) $(CFLAGS) $(CINCL) -I $(<D) -o $@ $^ $(CLIBS)

#bin/mix: src/bin/mix/*.c src/bin/mix/ops/*.c $(COBJS)
#	$(CC) $(CFLAGS) $(CINCL) -I $(<D) -o $@ $^ $(CLIBS)

#bin/%: src/bin/%.c $(COBJS)
#	$(CC) $(CFLAGS) $(CINCL) -o $@ $^ $(CLIBS)<commit_msg>amend earlier commit that disables bins from Makefile<commit_after>
CFLAGS = -fPIC -O3 -Wall -g
CINCL  = -Isrc -Ideps/discodb/src -Isrc/xxhash/
CLIBS  = -Llib $(foreach L,discodb Judy cmph m,-l$(L))
CHDRS  = $(wildcard src/*.h)
CSRCS  = $(wildcard src/*.c src/dsfmt/dSFMT.c src/xxhash/*.c)
COBJS  = $(patsubst %.c,%.o,$(CSRCS))

PYTHON = python

.PHONY: all bins libs clean python
.PHONY: deps/discodb/src

all: libs bins

#bins: bin/encode bin/index bin/extractd bin/mix

libs: lib/libdiscodb.a lib/libtraildb.a lib/libtraildb.so

clean:
	rm -f $(COBJS)
	rm -f bin/encode bin/index bin/mix
	rm -f lib/libtraildb.*

#bin/extractd: src/bin/extractd/*.c $(COBJS)
#	$(CC) $(CFLAGS) $(CINCL) -I $(<D) -o $@ $^ $(CLIBS)

#bin/mix: src/bin/mix/*.c src/bin/mix/ops/*.c $(COBJS)
#	$(CC) $(CFLAGS) $(CINCL) -I $(<D) -o $@ $^ $(CLIBS)

#bin/%: src/bin/%.c $(COBJS)
#	$(CC) $(CFLAGS) $(CINCL) -o $@ $^ $(CLIBS)
{'fraction_non_alphanumeric': 0.22481502561183836, 'fraction_numerical': 0.0011383039271485487, 'mean_word_length': 3.4393939393939394, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1899219', 'n_tokens_mistral': 879, 'n_tokens_neox': 840, 'n_words': 188}