<commit_before>CC=gcc
DEBUG=-O2 -g -fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined -fbounds-check 
RELEASE=-O3 -fstrict-aliasing -ffast-math -DNDEBUG -flto -msse -march=native -fomit-frame-pointer #-fprofile-generate #-fprofile-use
CFLAGS=$(RELEASE) -Wall -Werror -pedantic -std=c11
GENERATED=magic_tables.o
OBJS=$(GENERATED) types.o move.o movegen.o read_fen.o perft.o main.o
TARGET=chess
GEN=generate_magic_tables

$(TARGET): $(OBJS)
	./$(GEN)
	$(CC) -o $@ $(CFLAGS) $(OBJS)
magic_tables.o: $(GEN)
	./$(GEN)
	$(CC) -o $@ $(CFLAGS) -c magic_tables.c
$(GEN): $(GEN).c
	$(CC) -o $@ $(CFLAGS) $<
main.o: main.c
	$(CC) -o $@ $(CFLAGS) -c $<
%.o: %.c %.c
	$(CC) -o $@ $(CFLAGS) -c $<
pgn_parser: pgn_parser.c
	$(CC) -o $@ $(CFLAGS) $<
.PHONY: clean
clean:
	rm -rf $(OBJS) $(TARGET) $(GEN) magic_tables.* *~
<commit_msg>Rename flags<commit_after>CC=gcc
DEBUG=-O2 -g -fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined -fbounds-check
GEN_PROFILE=-fprofile-generate
USE_PROFILE=-fprofile-use
RELEASE=-O3 -fstrict-aliasing -ffast-math -DNDEBUG -flto -msse -march=native -fomit-frame-pointer
CFLAGS=$(RELEASE) -Wall -Werror -pedantic -std=c11
GENERATED=magic_tables.o
OBJS=$(GENERATED) types.o move.o movegen.o read_fen.o perft.o main.o
TARGET=chess
GEN=generate_magic_tables

$(TARGET): $(OBJS)
	./$(GEN)
	$(CC) -o $@ $(CFLAGS) $(OBJS)
magic_tables.o: $(GEN)
	./$(GEN)
	$(CC) -o $@ $(CFLAGS) -c magic_tables.c
$(GEN): $(GEN).c
	$(CC) -o $@ $(CFLAGS) $<
main.o: main.c
	$(CC) -o $@ $(CFLAGS) -c $<
%.o: %.c %.c
	$(CC) -o $@ $(CFLAGS) -c $<
pgn_parser: pgn_parser.c
	$(CC) -o $@ $(CFLAGS) $<
.PHONY: clean
clean:
	rm -rf $(OBJS) $(TARGET) $(GEN) magic_tables.* *~

{'fraction_non_alphanumeric': 0.2235434007134364, 'fraction_numerical': 0.0047562425683709865, 'mean_word_length': 4.146788990825688, 'pattern_counts': {'":': 0, '<': 11, '<?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': '4747569', 'n_tokens_mistral': 756, 'n_tokens_neox': 721, 'n_words': 159}