<commit_before>ROOT=${PWD}
include Makefile.inc

default: gleam
all: gleam
quad: gleam_quad

docs:
	doxygen dox.cfg

.PHONY: clean ${LIB}/libptmcmc.a ${LIB}/libprobdist.a


gleam: gleam.cc glens.cc glens.hh cmplx_roots_sg.o mlfit.hh ${MCMC}/mcmc.hh ${LIB}/libprobdist.a  ${LIB}/libptmcmc.a
	@echo "ROOT=",${ROOT}
	${CXX} ${CFLAGS} -o gleam gleam.cc glens.cc cmplx_roots_sg.o -lgsl -L${GSLDIR} -I${GSLINC} -I${MCMC} -std=c++11 -lgfortran -lprobdist -lptmcmc -L${LIB} 

gleam_quad: gleam.cc glens.cc glens.hh cmplx_roots_sg_quad.o mlfit.hh ${MCMC}/mcmc.hh ${LIB}/libprobdist.a  ${LIB}/libptmcmc.a
	${CXX} ${CFLAGS} -o gleam_quad gleam.cc glens.cc cmplx_roots_sg_quad.o -lgsl -L${GSLDIR} -I${GSLINC} -I${MCMC} -std=c++11 -lgfortran -lprobdist -lptmcmc -L${LIB} -DUSE_KIND_16 

cmplx_roots_sg.o: cmplx_roots_sg.f90
	${F90} ${CFLAGS} -c cmplx_roots_sg.f90

cmplx_roots_sg_quad.o: cmplx_roots_sg_quad.f90
	${F90} ${CFLAGS} -c cmplx_roots_sg_quad.f90

${LIB}/libptmcmc.a: ${LIB} 
	@echo "Descending to ptMCMC"
	${MAKE} -C ${MCMC}  ${MFLAGS} ${LIB}/libptmcmc.a

${LIB}/libprobdist.a: ${LIB} ${INCLUDE}
	@echo "Descending to ptMCMC"
	${MAKE} -C ${MCMC}  ${MFLAGS} ${LIB}/libprobdist.a
<commit_msg>Makefile entry for ptmcmc<commit_after>ROOT=${PWD}
include Makefile.inc

default: gleam
all: gleam
quad: gleam_quad

docs:
	doxygen dox.cfg

.PHONY: clean ${LIB}/libptmcmc.a ${LIB}/libprobdist.a


gleam: gleam.cc glens.cc glens.hh cmplx_roots_sg.o mlfit.hh ${MCMC}/mcmc.hh ${LIB}/libprobdist.a  ${LIB}/libptmcmc.a
	@echo "ROOT=",${ROOT}
	${CXX} ${CFLAGS} -o gleam gleam.cc glens.cc cmplx_roots_sg.o -lgsl -L${GSLDIR} -I${GSLINC} -I${MCMC} -std=c++11 -lgfortran -lprobdist -lptmcmc -L${LIB} 

gleam_quad: gleam.cc glens.cc glens.hh cmplx_roots_sg_quad.o mlfit.hh ${MCMC}/mcmc.hh ${LIB}/libprobdist.a  ${LIB}/libptmcmc.a
	${CXX} ${CFLAGS} -o gleam_quad gleam.cc glens.cc cmplx_roots_sg_quad.o -lgsl -L${GSLDIR} -I${GSLINC} -I${MCMC} -std=c++11 -lgfortran -lprobdist -lptmcmc -L${LIB} -DUSE_KIND_16 

cmplx_roots_sg.o: cmplx_roots_sg.f90
	${F90} ${CFLAGS} -c cmplx_roots_sg.f90

cmplx_roots_sg_quad.o: cmplx_roots_sg_quad.f90
	${F90} ${CFLAGS} -c cmplx_roots_sg_quad.f90

ptmcmc:
	@git clone https://github.com/JohnGBaker/ptmcmc.git

${LIB}/libptmcmc.a: ${LIB} ptmcmc
	@echo "Descending to ptMCMC"
	${MAKE} -C ${MCMC}  ${MFLAGS} ${LIB}/libptmcmc.a

${LIB}/libprobdist.a: ${LIB} ${INCLUDE}
	@echo "Descending to ptMCMC"
	${MAKE} -C ${MCMC}  ${MFLAGS} ${LIB}/libprobdist.a

{'fraction_non_alphanumeric': 0.18526058631921824, 'fraction_numerical': 0.014657980456026058, 'mean_word_length': 4.767605633802817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '149958', 'n_tokens_mistral': 1269, 'n_tokens_neox': 1191, 'n_words': 216}