<commit_before>#!gmake

.PHONY: all
all: qsim-parse qsim-rewrite VERSION

.PHONY: allall
allall: all qsim-parse-debug qsim-rewrite-debug

PARSE_DEPS = qsim_parse.cpp simplesim.cpp input_model.cpp ranlib.cpp rnglib.cpp fasta.cpp

REWRITE_DEPS = qsim_rewrite.cpp

# http://programmers.stackexchange.com/questions/141973/how-do-you-achieve-a-numeric-versioning-scheme-with-git
# git tag -a v1.0.2 -m 'Version 1.0.2'
# git push --tags
VERSION:
	git describe --tags --long > $@

qsim-parse: $(PARSE_DEPS)
	g++ -O3 -o $@ $^

# note, on some JHU systems I have to use -gdwarf-3
qsim-parse-debug: $(PARSE_DEPS)
	g++ -g -O0 -o $@ $^

qsim-rewrite: $(REWRITE_DEPS)
	g++ -O3 -o $@ $^

# note, on some JHU systems I have to use -gdwarf-3
qsim-rewrite-debug: $(REWRITE_DEPS)<commit_msg>bumping version<commit_after>#!gmake

.PHONY: all
all: qsim-parse qsim-rewrite VERSION

.PHONY: allall
allall: all qsim-parse-debug qsim-rewrite-debug

PARSE_DEPS = qsim_parse.cpp simplesim.cpp input_model.cpp ranlib.cpp rnglib.cpp fasta.cpp

REWRITE_DEPS = qsim_rewrite.cpp

# http://programmers.stackexchange.com/questions/141973/how-do-you-achieve-a-numeric-versioning-scheme-with-git
# git tag -a v1.0.3 -m 'Version 1.0.3'
# git push --tags
VERSION:
	git describe --tags --long > $@

qsim-parse: $(PARSE_DEPS)
	g++ -O3 -o $@ $^

# note, on some JHU systems I have to use -gdwarf-3
qsim-parse-debug: $(PARSE_DEPS)
	g++ -g -O0 -o $@ $^

qsim-rewrite: $(REWRITE_DEPS)
	g++ -O3 -o $@ $^

# note, on some JHU systems I have to use -gdwarf-3
qsim-rewrite-debug: $(REWRITE_DEPS)
{'fraction_non_alphanumeric': 0.15374677002583978, 'fraction_numerical': 0.021963824289405683, 'mean_word_length': 3.722560975609756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1143165', 'n_tokens_mistral': 692, 'n_tokens_neox': 661, 'n_words': 152}