<commit_before>CC = clang
FLAGS = -Wall -Wextra -g
OBJECTS = memory.o parser.o
SRC = $(OBJECTS:.o=.c)
CDIR = $(shell pwd)
INCLUDE = -I$(CDIR)

DEP = mpc/mpc.o

all: #Purposefully blank until I make this an actual embeddable module

read_test: $(CDIR)/tests/read_test.c $(OBJECTS) $(DEP)
	$(CC) $(FLAGS) $(OBJECTS) $(DEP) $< -o $@ $(INCLUDE)

tests: read_test

$(DEP):
	$(CC) $(FLAGS) -c mpc/mpc.c -o $@

%.o:%.c
	$(CC) $(FLAGS) -c $< -o $@ $(INCLUDE)

.PHONY: clean done

clean:
	rm -f $(OBJECTS)

done: clean
	rm -rf *~<commit_msg>Added a comvenience "done" target for end of compile/run testing cleanup<commit_after>CC = clang
FLAGS = -Wall -Wextra -g
OBJECTS = memory.o parser.o
SRC = $(OBJECTS:.o=.c)
CDIR = $(shell pwd)
INCLUDE = -I$(CDIR)

DEP = mpc/mpc.o

all: #Purposefully blank until I make this an actual embeddable module

bin/read_test: $(CDIR)/tests/read_test.c $(OBJECTS) $(DEP)
	$(CC) $(FLAGS) $(OBJECTS) $(DEP) $< -o $@ $(INCLUDE)

tests: bin/read_test

$(DEP):
	$(CC) $(FLAGS) -c mpc/mpc.c -o $@

%.o:%.c
	$(CC) $(FLAGS) -c $< -o $@ $(INCLUDE)

.PHONY: clean done

clean:
	rm -f $(OBJECTS)

done: clean
	rm -rf bin/* *~
{'fraction_non_alphanumeric': 0.20668425681618294, 'fraction_numerical': 0.0, 'mean_word_length': 3.6260162601626016, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1228213', 'n_tokens_mistral': 513, 'n_tokens_neox': 478, 'n_words': 139}