<commit_before>
SRC = $(filter-out test.c, $(wildcard *.c))
SRC += $(wildcard deps/*/*.c)
CFLAGS += -std=c99 -Wall -Ideps
OBJS = $(SRC:.c=.o)

default: test
	./$<

valgrind: test
	valgrind --leak-check=full --error-exitcode=1 ./$<

test: $(OBJS)
	$(CC) test.c $(SRC) -Ideps $(CFLAGS) -o test

clean:
	rm -f test
	rm -f $(OBJS)
<commit_msg>Makefile: Compile objects rather than linking .c files<commit_after>
SRC = $(filter-out test.c, $(wildcard *.c))
SRC += $(wildcard deps/*/*.c)
CFLAGS += -std=c99 -Wall -Ideps
OBJS = $(SRC:.c=.o)

default: test; ./$<

valgrind: test
	valgrind --leak-check=full --error-exitcode=1 ./$<

test: test.o $(OBJS)
	$(CC) $< $(OBJS) -Ideps $(CFLAGS) -o $@

clean:
	rm -f test test.o
	rm -f $(OBJS)

{'fraction_non_alphanumeric': 0.22802197802197802, 'fraction_numerical': 0.008241758241758242, 'mean_word_length': 3.3136094674556213, 'pattern_counts': {'":': 0, '<': 8, '<?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': '3118260', 'n_tokens_mistral': 337, 'n_tokens_neox': 317, 'n_words': 83}