<commit_before># if mode is release, don't include debug info
ifeq ($(mode),release)
	CXXFLAGS=-O2 -Wall
else
	mode = debug
	CXXFLAGS=-g -Wall
endif

#begin actual makefile stuff
all: test_timestamped_array test_persistent_skiplist

# executables
test_persistent_skiplist: PersistentSkipList.o test_persistent_skiplist.cpp

test_timestamped_array: TimeStampedArray.o test_timestamped_array.cpp

# object files
PersistentSkipList.o: PersistentSkipList.hpp

sort/heap_sort.o: sort/heap_sort.hpp

array_utilities.o: array_utilities.hpp

control_utilities.o: control_utilities.hpp

TimeStampedArray.o: TimeStampedArray.hpp

Point2D.o: Point2D.hpp

# in case of emergency
clean:
	@rm -f test_timestamped_array test_persistent_skiplist
	@rm -f *.o *.log core
	@rm -rf *.dSYM
<commit_msg>cleaned up makefile<commit_after>###############################################################################
#                       Copyright (c) 2011 - 2012 by                          #
#                               <NAME>                                   #
#                         (All rights reserved)                               #
###############################################################################
# Makefile for the Persistent SkipList project
###############################################################################

###############################################################################
# Global options
###############################################################################

CXX = g++

VALGRIND	= valgrind
VGOPS		= --leak-check=full -v --show-reachable=yes

# if mode is release, don't include debug info
ifeq ($(mode),release)
	CXXFLAGS=-O2 -Wall
else
	mode = debug
	CXXFLAGS=-g -std=c++98 -pedantic-errors -Wall -Werror
endif

###############################################################################
# Project specific options
###############################################################################

TEST_TSA	= test_timestamped_array
TEST_PSL	= test_persistent_skiplist

EXECUTABLES 	= ${TEST_TSA} ${TEST_PSL}

#begin actual makefile stuff
all: ${EXECUTABLES}

# specify required libraries
${TEST_TSA}: PersistentSkipList.o

${TEST_PSL}: TimeStampedArray.o

# tidy up generated files
clean:
	@rm -f ${EXECUTABLES}
	@rm -f *.o *.log core
	@rm -rf *.dSYM

{'fraction_non_alphanumeric': 0.3090909090909091, 'fraction_numerical': 0.006060606060606061, 'mean_word_length': 4.31264367816092, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2570145', 'n_tokens_mistral': 676, 'n_tokens_neox': 632, 'n_words': 152}