<commit_before>CXX      := gcc
CXXFLAGS := -O2 -Wall

INCLUDES := -I.
LIBS     := -lyaml

OBJECTS  := $(patsubst %.c,%.o,$(wildcard *.c))
DEPS     := $(OBJECTS:.o=.d)

all: nyx

-include $(DEPS)

nyx: $(OBJECTS)
	$(CXX) $(OBJECTS) -o nyx $(LIBS)

%.o: %.c
	$(CXX) -c $(CXXFLAGS) $(INCLUDES) -MMD -MF $(patsubst %.o,%.d,$@) -o $@ $<

run: nyx
	./nyx config.yaml

clean:
	@rm -rf *.o
	@rm -rf *.d
	@rm -f nyx

.PHONY: all clean run
<commit_msg>Makefile: add rebuild target<commit_after>CXX      := gcc
CXXFLAGS := -O2 -Wall

INCLUDES := -I.
LIBS     := -lyaml

OBJECTS  := $(patsubst %.c,%.o,$(wildcard *.c))
DEPS     := $(OBJECTS:.o=.d)

all: nyx

-include $(DEPS)

nyx: $(OBJECTS)
	$(CXX) $(OBJECTS) -o nyx $(LIBS)

%.o: %.c
	$(CXX) -c $(CXXFLAGS) $(INCLUDES) -MMD -MF $(patsubst %.o,%.d,$@) -o $@ $<

run: nyx
	./nyx config.yaml

clean:
	@rm -rf *.o
	@rm -rf *.d
	@rm -f nyx

rebuild: clean all

.PHONY: all clean run rebuild

{'fraction_non_alphanumeric': 0.23948220064724918, 'fraction_numerical': 0.002157497303128371, 'mean_word_length': 2.697211155378486, 'pattern_counts': {'":': 0, '<': 5, '<?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': '428857', 'n_tokens_mistral': 472, 'n_tokens_neox': 437, 'n_words': 117}