<commit_before># Thanks to <NAME>

CC=gcc

WARNINGS=-W -Wall -Wextra -Werror
MOREWARNINGS=$(WARNINGS) -Wcast-qual -Wcast-align -Wfloat-equal -Wshadow -Wpointer-arith -Wunreachable-code -Wchar-subscripts -Wcomment -Wformat -Werror-implicit-function-declaration -Wmain -Wmissing-braces -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wuninitialized -Wundef -Wwrite-strings -Wsign-compare -Wmissing-declarations -pedantic -Wconversion -Wmissing-noreturn -Wunused -Wsign-conversion -Wunused -Wstrict-aliasing -Wstrict-overflow -Wconversion -Wdisabled-optimization

OTHER_FLAGS=-std=c99 -I. -g
#OTHER_FLAGS=-std=c11 -I. -g
FLAGS= $(OTHER_FLAGS) $(MOREWARNINGS)

COMPILE=-c
OUTPUT=-o
LINK_FLAGS=-lm

BUILD_DIR=_build
TEST_DIR=tests
BUILD_TEST_DIR=$(BUILD_DIR)/$(TEST_DIR)

SOURCES=${wildcard *.c}
OBJECTS=$(patsubst %.c,_build/%.o,$(SOURCES))
TESTS_SOURCES=$(wildcard $(TEST_DIR)/*.c)
TESTS=$(patsubst $(TEST_DIR)/%.c,%.test,$(TESTS_SOURCES))

all: $(OBJECTS)

tests: $(BUILD_TEST_DIR) $(TESTS)

%.test: $(OBJECTS) $(BUILD_TEST_DIR)/%.o
	$(CC) $(FLAGS) $(LINK_FLAGS) $^ $(OUTPUT) $@

$(BUILD_DIR):
	mkdir -p $(BUILD_DIR)
<commit_msg>Add all these warnings was not such a good idea...<commit_after># Thanks to <NAME>

CC=gcc

WARNINGS=-W -Wall -Wextra -Werror
OTHER_FLAGS=-std=c99 -I. -g
#OTHER_FLAGS=-std=c11 -I. -g
FLAGS= $(OTHER_FLAGS) $(WARNINGS)

COMPILE=-c
OUTPUT=-o
LINK_FLAGS=-lm

BUILD_DIR=_build
TEST_DIR=tests
BUILD_TEST_DIR=$(BUILD_DIR)/$(TEST_DIR)

SOURCES=${wildcard *.c}
OBJECTS=$(patsubst %.c,_build/%.o,$(SOURCES))
TESTS_SOURCES=$(wildcard $(TEST_DIR)/*.c)
TESTS=$(patsubst $(TEST_DIR)/%.c,%.test,$(TESTS_SOURCES))

all: $(OBJECTS)

tests: $(BUILD_TEST_DIR) $(TESTS)

%.test: $(OBJECTS) $(BUILD_TEST_DIR)/%.o
	$(CC) $(FLAGS) $(LINK_FLAGS) $^ $(OUTPUT) $@

$(BUILD_DIR):
	mkdir -p $(BUILD_DIR)

{'fraction_non_alphanumeric': 0.18895027624309393, 'fraction_numerical': 0.004419889502762431, 'mean_word_length': 5.537906137184115, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1927461', 'n_tokens_mistral': 754, 'n_tokens_neox': 715, 'n_words': 137}