<commit_before>GTEST_DIR=/Users/Evan/Downloads/gtest-1.7.0
GCC=g++
CXXFLAGS=-g -Wall -I$(INCLUDE)
INCLUDE=./inc
OBJECTS=./obj

VPATH=${INCLUDE}

all: getobj myTests ctags putobj

.PHONY: getobj
getobj:
	-mv ${OBJECTS}/*.[oa] . 2>/dev/null

.PHONY: putobj
putobj:
	-mv *.[oa] ${OBJECTS} 2>/dev/null

myTests: myTests.o 
	${GCC} ${CXXFLAGS} -isystem ${GTEST_DIR}/include myTests.o libgtest.a -o myTests

myTests.o: myTests.cpp RedBlackTree.h
	${GCC} ${CXXFLAGS} -I${GTEST_DIR}/include -c myTests.cpp

gtest:
	g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} -pthread -c ${GTEST_DIR}/src/gtest-all.cc
	ar -rv libgtest.a gtest-all.o

.PHONY: clean
clean:
	-rm -f myTests
	-rm -f ${OBJECTS}/*.[oa]

.PHONY: ctags
ctags:
	-ctags -R *

rebuild: clean gtest all
<commit_msg>Update GTest dir<commit_after>GTEST_DIR=/Users/Evan/Documents/code/googletest/googletest
GCC=g++
CXXFLAGS=-g -Wall -I$(INCLUDE)
INCLUDE=./inc
OBJECTS=./obj

VPATH=${INCLUDE}

all: getobj myTests ctags putobj

.PHONY: getobj
getobj:
	-mv ${OBJECTS}/*.[oa] . 2>/dev/null

.PHONY: putobj
putobj:
	-mv *.[oa] ${OBJECTS} 2>/dev/null

myTests: myTests.o 
	${GCC} ${CXXFLAGS} -isystem ${GTEST_DIR}/include myTests.o ${GTEST_DIR}/libgtest.a -o myTests

myTests.o: myTests.cpp RedBlackTree.h
	${GCC} ${CXXFLAGS} -I${GTEST_DIR}/include -c myTests.cpp

gtest:
	g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} -pthread -c ${GTEST_DIR}/src/gtest-all.cc
	ar -rv libgtest.a gtest-all.o

.PHONY: clean
clean:
	-rm -f myTests
	-rm -f ${OBJECTS}/*.[oa]

.PHONY: ctags
ctags:
	-ctags -R *

rebuild: clean gtest all

{'fraction_non_alphanumeric': 0.1836212412028151, 'fraction_numerical': 0.004478566858605247, 'mean_word_length': 3.90282131661442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6447568', 'n_tokens_mistral': 733, 'n_tokens_neox': 697, 'n_words': 150}