<commit_before>CXX=g++
CXXFLAGS=-c -O2 -march=native -pipe -MMD -MP
LDFLAGS=

BUILD_DIR=bin
TARGET=${BUILD_DIR}/huff

SRC_FILES=$(shell find -name \*.cpp)
O_FILES=${SRC_FILES:%.cpp=${BUILD_DIR}/%.cpp.o}
D_FILES=${O_FILES:%.o=%d}

all: ${TARGET}

clean:
	rm -rf ${BUILD_DIR}

${TARGET}: ${O_FILES}
	${CXX} ${LDFLAGS} $^ -o $@

${BUILD_DIR}/%.cpp.o: %.cpp ${BUILD_DIR}
	${CXX} ${CXXFLAGS} $< -o $@

${BUILD_DIR}:
	mkdir ${BUILD_DIR}

-include ${D_FILES}

.PHONY: clean, all
<commit_msg>Fix Makefile dependencies<commit_after>CXX=g++
CXXFLAGS=-c -O2 -march=native -pipe -MMD -MP
LDFLAGS=

BUILD_DIR=bin
TARGET=${BUILD_DIR}/huff

SRC_FILES=$(shell find -name \*.cpp)
O_FILES=${SRC_FILES:%.cpp=${BUILD_DIR}/%.cpp.o}
D_FILES=${O_FILES:%.o=%.d}

all: ${TARGET}

clean:
	rm -rf ${BUILD_DIR}

${TARGET}: ${O_FILES}
	${CXX} ${LDFLAGS} $^ -o $@

${BUILD_DIR}/%.cpp.o: %.cpp ${BUILD_DIR}
	${CXX} ${CXXFLAGS} $< -o $@

${BUILD_DIR}:
	mkdir ${BUILD_DIR}

-include ${D_FILES}

.PHONY: clean, all

{'fraction_non_alphanumeric': 0.2415902140672783, 'fraction_numerical': 0.0020387359836901123, 'mean_word_length': 4.845238095238095, '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': '5459270', 'n_tokens_mistral': 463, 'n_tokens_neox': 428, 'n_words': 84}