<commit_before>SHELL = /bin/bash
LINK_FLAGS = --link-flags "-static"
SRCS = ${wildcard examples/*.cr}
PROGS = $(SRCS:examples/%.cr=%)

.PHONY : all build clean bin
.PHONY : ${PROGS}

all: build

build: bin ${PROGS}

bin:
	@mkdir -p bin

tcpdump: examples/tcpdump.cr
	crystal build --release $^ -o bin/$@ ${LINK_FLAGS}

tcpbody: examples/tcpbody.cr
        crystal build --release $^ -o bin/$@ ${LINK_FLAGS}

spec:
	crystal spec -v

test-compile-bin:
	@for x in examples/*.cr ; do\
	  crystal build "$$x" -o /dev/null ;\
	done

clean:
	@rm -rf bin tmp<commit_msg>fix Makefile<commit_after>SHELL = /bin/bash
LINK_FLAGS = --link-flags "-static"
SRCS = ${wildcard examples/*.cr}
PROGS = $(SRCS:examples/%.cr=%)

.PHONY : all build clean bin
.PHONY : ${PROGS}

all: build

build: bin ${PROGS}

bin:
	@mkdir -p bin

tcpdump: examples/tcpdump.cr
	crystal build --release $^ -o bin/$@ ${LINK_FLAGS}

tcpbody: examples/tcpbody.cr
	crystal build --release $^ -o bin/$@ ${LINK_FLAGS}

spec:
	crystal spec -v

test-compile-bin:
	@for x in examples/*.cr ; do\
	  crystal build "$$x" -o /dev/null ;\
	done

clean:
	@rm -rf bin tmp
{'fraction_non_alphanumeric': 0.17204301075268819, 'fraction_numerical': 0.0, 'mean_word_length': 3.247148288973384, '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': '1603746', 'n_tokens_mistral': 463, 'n_tokens_neox': 446, 'n_words': 126}