<commit_before>#The source files we need.
SRCS = calculateHashes.cpp filenameParser.cpp main.cpp

#Our C++ compiler, I use clang. Feel feel to change it.
CXX = clang++
GCC = g++

#Lovely compiler flags.
COMPILER_FLAGS = -O3 -std=c++1y -pedantic-errors -Werror -Wall -W

#Libraries we need.
LINKER_FLAGS = -lssl -lcrypto -lz

#OBJ_NAME specifies the name of our exectuable
NAME = dsum


all: $(SRCS)
	make build

build: $(SRCS)
	$(CXX) $(SRCS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(NAME)

# I (DaemonLee) don't normally test or build dsum with GCC but in theory it should work.
gcc: $(SRCS)
	echo "WARNING: UNTESTED COMPILER! USE WITH CARE!"
	$(GCC) $(SRCS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(NAME)

debug:
	$(CXX) $(SRCS) $(COMPILER_FLAGS) -g $(LINKER_FLAGS) -o $(NAME)-debug

clean:
	rm $(NAME)

install:
	cp $(NAME) $(INSTALL_PATH)/bin

uninstall:
	rm $(INSTALL_PATH)/bin/$(NAME)<commit_msg>Updated Makefile<commit_after>#The source files we need.
SRCS = calculateHashes.cpp filenameParser.cpp main.cpp

#Our C++ compiler, I use clang. Feel feel to change it.
CXX = clang++
GCC = g++

#Lovely compiler flags.
COMPILER_FLAGS = -O3 -std=c++1y -pedantic-errors -Werror -Wall -W

#Libraries we need.
LINKER_FLAGS = -lssl -lcrypto -lz

#NAME is the name of the exectuable
NAME = dsum


all: $(SRCS)
	make build

build: $(SRCS)
	$(CXX) $(SRCS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(NAME)

# I (DaemonLee) don't normally test or build dsum with GCC but in theory it should work.
gcc: $(SRCS)
	echo "WARNING: UNTESTED COMPILER! USE WITH CARE!"
	$(GCC) $(SRCS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(NAME)

debug:
	$(CXX) $(SRCS) $(COMPILER_FLAGS) -g $(LINKER_FLAGS) -o $(NAME)-debug

clean:
	rm $(NAME)

install:
	cp $(NAME) $(INSTALL_PATH)/bin

uninstall:
	rm $(INSTALL_PATH)/bin/$(NAME)
{'fraction_non_alphanumeric': 0.15212527964205816, 'fraction_numerical': 0.0022371364653243847, 'mean_word_length': 4.421212121212121, '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': '149893', 'n_tokens_mistral': 715, 'n_tokens_neox': 687, 'n_words': 222}