<commit_before><commit_msg>Feature: Build with Makefile<commit_after>CXX := g++
CXX_STANDARD := c++11

LINKING_LIBRARIES := -ldl

CXX_FLAGS := -std=$(CXX_STANDARD) -fPIE -s -O3 $(LINKING_LIBRARIES)

BIN := cs
SRC_DIR = sources
SRC := $(wildcard $(SRC_DIR)/*.cpp)
OBJ := $(SRC:.cpp=.o)

$(BIN): $(OBJ)
	$(CXX) -o $@ $(CXX_FLAGS) $<

%.o: %.cpp
	$(CXX) -c -o $@ $(CXX_FLAGS) $<

.PHONY: clean format
clean:
	$(RM) $(BIN)

format:
	$(RM) $(SRC_DIR)/*.gch
	astyle $(SRC_DIR)/*.*
	astyle $(SRC_DIR)/*/*.*
	$(RM) $(SRC_DIR)/*.orig
	$(RM) $(SRC_DIR)/*/*.orig
	astyle -A4 -N -t $(SRC_DIR)/*.*
	astyle -A4 -N -t $(SRC_DIR)/*/*.*
	$(RM) $(SRC_DIR)/*.orig
	$(RM) $(SRC_DIR)/*/*.orig

{'fraction_non_alphanumeric': 0.2767857142857143, 'fraction_numerical': 0.00744047619047619, 'mean_word_length': 3.773049645390071, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6896561', 'n_tokens_mistral': 331, 'n_tokens_neox': 300, 'n_words': 66}