<commit_before>BOOST_PATH=../boost-1.47.0/ 

all release debug:
	g++ -c sqlite3cpp.cpp -Wall -I$(BOOST_PATH)
	mkdir -p lib
	ar rcs lib/libsqlite3cpp.a *.o 

clean:
	rm -f *.o
	rm -rf ./lib
    
install:
    
buildtestinsert:
	rm -f ./testinsert ./test.db
	g++ testinsert.cpp -Wall -I./ -I$(BOOST_PATH) -lsqlite3 lib/libsqlite3cpp.a  -o testinsert
    
buildtestselect:
	rm -f ./testselect ./test.db
	g++ testselect.cpp -Wall -I./ -I$(BOOST_PATH) -lsqlite3 lib/libsqlite3cpp.a  -o testselect

test: buildtestinsert buildtestselect
	./testinsert
	./testselect<commit_msg>The location of boost headers should be specified by caller script<commit_after>all release debug:
	g++ -c sqlite3cpp.cpp -Wall -I../$(BOOST_DIR)
	mkdir -p lib
	ar rcs lib/libsqlite3cpp.a *.o 

clean:
	rm -f *.o
	rm -rf ./lib
    
install:
    
buildtestinsert:
	rm -f ./testinsert ./test.db
	g++ testinsert.cpp -Wall -I./ -I../$(BOOST_DIR) -lsqlite3 lib/libsqlite3cpp.a  -o testinsert
    
buildtestselect:
	rm -f ./testselect ./test.db
	g++ testselect.cpp -Wall -I./ -I../$(BOOST_DIR) -lsqlite3 lib/libsqlite3cpp.a  -o testselect

test: buildtestinsert buildtestselect
	./testinsert
	./testselect
{'fraction_non_alphanumeric': 0.143101970865467, 'fraction_numerical': 0.013710368466152529, 'mean_word_length': 2.8933333333333335, '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': '1228164', 'n_tokens_mistral': 474, 'n_tokens_neox': 454, 'n_words': 122}