<commit_before>
CC=gcc
CFLAGS=-Wall -g
CPP=clang++ -std=c++11 -stdlib=libc++
CPPFLAGS=-g -O0
INC=-Iinclude
LIB=-Lobj

OBJ=\
	obj/ldpc802.o \
	obj/crc32.o

DEPS=\
	include/ldpc802.h src/ldpc802.c\
	include/crc32.h src/crc32.c


ALL: obj/libldpc802.a

obj/libldpc802.a: $(OBJ)
	$(AR) rcs $@ $(OBJ)

obj/ldpc802.o: $(DEPS)
	$(CC) $(CFLAGS) $(INC) -c -o $@ src/ldpc802.c

obj/crc32.o: $(DEPS)
	$(CC) $(CFLAGS) $(INC) -c -o $@ src/crc32.c

tests: test/crctest

test/crctest:
	$(CPP) $(CPPFLAGS) $(INC) test/crctest.cpp $(LIB) -o $@ -lldpc802 -lstdc++ -lgtest

clean:
	$(RM) obj/* test/runner test/*.o test/crctest
<commit_msg>cleanup<commit_after>
CC=gcc
CFLAGS=-Wall -g
INC=-Iinclude
LIB=-Lobj

OBJ=\
	obj/ldpc802.o \
	obj/crc32.o

DEPS=\
	include/ldpc802.h src/ldpc802.c\
	include/crc32.h src/crc32.c


ALL: obj/libldpc802.a

obj/libldpc802.a: $(OBJ)
	$(AR) rcs $@ $(OBJ)

obj/ldpc802.o: $(DEPS)
	$(CC) $(CFLAGS) $(INC) -c -o $@ src/ldpc802.c

obj/crc32.o: $(DEPS)
	$(CC) $(CFLAGS) $(INC) -c -o $@ src/crc32.c


clean:
	$(RM) obj/*

{'fraction_non_alphanumeric': 0.22643343051506318, 'fraction_numerical': 0.06608357628765792, 'mean_word_length': 3.364406779661017, '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': '6142837', 'n_tokens_mistral': 591, 'n_tokens_neox': 522, 'n_words': 100}