<commit_before>CFLAGS = -Wall -shared -fPIC

.PHONY: all clean local kalign clean_kalign clean_local

all: local kalign

local:
	gcc $(CFLAGS) align.c -o libalign.so
	gcc $(CFLAGS) swalign.c -o libswalign.so -lm
	gcc $(CFLAGS) seqtools.c -o libseqtools.so
	gcc $(CFLAGS) consensus.c -o libconsensus.so

kalign:
	make -C kalign

clean: clean_local clean_kalign

clean_kalign:
	make -C kalign clean

clean_local:
	rm -f libalign.so libswalign.so libseqtools.so libconsensus.so<commit_msg>Makefile: Let it run even if kalign submodule is missing.<commit_after>CFLAGS = -Wall -shared -fPIC

.PHONY: all clean local kalign clean_kalign clean_local

all: local kalign

local:
	gcc $(CFLAGS) align.c -o libalign.so
	gcc $(CFLAGS) swalign.c -o libswalign.so -lm
	gcc $(CFLAGS) seqtools.c -o libseqtools.so
	gcc $(CFLAGS) consensus.c -o libconsensus.so

kalign:
	if [ -f kalign/Makefile ]; then make -C kalign; fi

clean: clean_local clean_kalign

clean_kalign:
	if [ -f kalign/Makefile ]; then make -C kalign clean; fi

clean_local:
	rm -f libalign.so libswalign.so libseqtools.so libconsensus.so
{'fraction_non_alphanumeric': 0.09926470588235294, 'fraction_numerical': 0.0, 'mean_word_length': 4.065116279069767, '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': '3759104', 'n_tokens_mistral': 424, 'n_tokens_neox': 415, 'n_words': 128}