<commit_before>rootPath = ../
include ../include.mk

libSourcesAll = impl/*.cpp
libSources=$(subst impl/hal2maf.cpp,,${libSourcesAll})
libHeaders = inc/*.h 
libTestsCommon = ${rootPath}/api/tests/halAlignmentTest.cpp
libTestsCommonHeaders = ${rootPath}/api/tests/halAlignmentTest.h ${rootPath}/api/tests/allTests.h
libTests = tests/*.cpp 
libTestsHeaders = tests/*.h 

all : ${libPath}/halMafExport.a ${binPath}/hal2maf ${binPath}/halMafTests

clean : 
	rm -f ${libPath}/halMafExport.a ${libPath}/*.h ${binPath}/hal2maf 

${libPath}/halMafExport.a : ${libSources} ${libHeaders} ${libPath}/halLib.a ${basicLibsDependencies} 
	cp ${libHeaders} ${libPath}/
	${cpp} ${cppflags} -I inc -I hdf5_impl -I impl -I ${libPath}/ -c ${libSources}
	ar rc halMafExport.a *.o
	ranlib halMafExport.a 
	rm *.o
	mv halMafExport.a ${libPath}/

${binPath}/hal2maf : impl/hal2maf.cpp ${libPath}/halMafExport.a ${libPath}/halLib.a ${basicLibsDependencies}
	${cpp} ${cppflags} -I inc -I impl -I ${libPath} -I impl -I tests -o ${binPath}/hal2maf impl/hal2maf.cpp ${libPath}/halMafExport.a ${libPath}/halLib.a ${basicLibs}

${binPath}/halMafTests : ${libTests} ${libTestsHeaders} ${libTestsCommon} ${libTestsHeadersCommon} ${libSources} ${libHeaders} ${libInternalHeaders} ${libPath}/halLib.a ${basicLibsDependencies}
	${cpp} ${cppflags} -I inc -I impl -I ${libPath} -I tests -I ../api/tests -o ${binPath}/halMafTests ${libTests} ${libPath}/halLib.a ${libPath}/halMafExport.a ${basicLibs}
<commit_msg>include hal test source in maf test executable<commit_after>rootPath = ../
include ../include.mk

libSourcesAll = impl/*.cpp
libSources=$(subst impl/hal2maf.cpp,,${libSourcesAll})
libHeaders = inc/*.h 
libTestsCommon = ${rootPath}/api/tests/halAlignmentTest.cpp
libTestsCommonHeaders = ${rootPath}/api/tests/halAlignmentTest.h ${rootPath}/api/tests/allTests.h
libTests = tests/*.cpp 
libTestsHeaders = tests/*.h 
libHalTestsAll := $(wildcard ../api/tests/*.cpp)
libHalTests = $(subst ../api/tests/allTests.cpp,,${libHalTestsAll})

all : ${libPath}/halMafExport.a ${binPath}/hal2maf ${binPath}/halMafTests

clean : 
	rm -f ${libPath}/halMafExport.a ${libPath}/*.h ${binPath}/hal2maf 

${libPath}/halMafExport.a : ${libSources} ${libHeaders} ${libPath}/halLib.a ${basicLibsDependencies} 
	cp ${libHeaders} ${libPath}/
	${cpp} ${cppflags} -I inc -I hdf5_impl -I impl -I ${libPath}/ -c ${libSources}
	ar rc halMafExport.a *.o
	ranlib halMafExport.a 
	rm *.o
	mv halMafExport.a ${libPath}/

${binPath}/hal2maf : impl/hal2maf.cpp ${libPath}/halMafExport.a ${libPath}/halLib.a ${basicLibsDependencies}
	${cpp} ${cppflags} -I inc -I impl -I ${libPath} -I impl -I tests -o ${binPath}/hal2maf impl/hal2maf.cpp ${libPath}/halMafExport.a ${libPath}/halLib.a ${basicLibs}

${binPath}/halMafTests : ${libTests} ${libTestsHeaders} ${libTestsCommon} ${libTestsHeadersCommon} ${libSources} ${libHeaders} ${libInternalHeaders} ${libPath}/halLib.a ${basicLibsDependencies}
	${cpp} ${cppflags} -I inc -I impl -I ${libPath} -I tests -I ../api/tests -o ${binPath}/halMafTests ${libHalTests} ${libTests} ${libPath}/halLib.a ${libPath}/halMafExport.a ${basicLibs}

{'fraction_non_alphanumeric': 0.18619582664526485, 'fraction_numerical': 0.005136436597110754, 'mean_word_length': 5.145956607495069, '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': '288377', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1145, 'n_words': 234}