<commit_before>OBJS = buffer.o graph.o list.o main.o string.o xmalloc.o
HEADERS = buffer.h graph.h list.h string.h xmalloc.h

make: $(OBJS)
	gcc $(LDFLAGS) -o $@ $(OBJS)

main.o: main.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

xmalloc.o: xmalloc.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

graph.o: graph.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

list.o: list.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

string.o: string.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

buffer.o: buffer.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<
<commit_msg>Sort targets in Makefile alphabetically<commit_after>OBJS = buffer.o graph.o list.o main.o string.o xmalloc.o
HEADERS = buffer.h graph.h list.h string.h xmalloc.h

make: $(OBJS)
	gcc $(LDFLAGS) -o $@ $(OBJS)


buffer.o: buffer.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

graph.o: graph.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

list.o: list.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

main.o: main.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

string.o: string.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

xmalloc.o: xmalloc.c $(HEADERS)
	gcc -c -Wall -Wextra -Wconversion $(CFLAGS) -o $@ $<

{'fraction_non_alphanumeric': 0.196415770609319, 'fraction_numerical': 0.0, 'mean_word_length': 3.2303030303030305, 'pattern_counts': {'":': 0, '<': 15, '<?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': '688780', 'n_tokens_mistral': 619, 'n_tokens_neox': 577, 'n_words': 162}