<commit_before>.PHONY: clean check install uninstall

prefix = /usr

CFLAGS = -W -Wall -std=gnu11 `sdl2-config --cflags`
LDFLAGS = `sdl2-config --libs` -lfreeimage -lSDL2_ttf -lfontconfig -lpthread

TARGET = imv
BUILDDIR = build

SOURCES = $(wildcard src/*.c)
OBJECTS = $(patsubst src/%.c,$(BUILDDIR)/%.o,$(SOURCES))
TESTS = $(patsubst test/%.c,test_%,$(wildcard test/*.c))

VERSION = "v1.1.0"

CFLAGS += -DIMV_VERSION=\"$(VERSION)\"

$(TARGET): $(OBJECTS)
	@echo "LINKING $@"
	@$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
<commit_msg>Tell gcc to be pedantic<commit_after>.PHONY: clean check install uninstall

prefix = /usr

CFLAGS = -W -Wall -Wpedantic -std=gnu11 `sdl2-config --cflags`
LDFLAGS = `sdl2-config --libs` -lfreeimage -lSDL2_ttf -lfontconfig -lpthread

TARGET = imv
BUILDDIR = build

SOURCES = $(wildcard src/*.c)
OBJECTS = $(patsubst src/%.c,$(BUILDDIR)/%.o,$(SOURCES))
TESTS = $(patsubst test/%.c,test_%,$(wildcard test/*.c))

VERSION = "v1.1.0"

CFLAGS += -DIMV_VERSION=\"$(VERSION)\"

$(TARGET): $(OBJECTS)
	@echo "LINKING $@"
	@$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)

{'fraction_non_alphanumeric': 0.2111627906976744, 'fraction_numerical': 0.014883720930232559, 'mean_word_length': 4.248780487804878, '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': '3880919', 'n_tokens_mistral': 471, 'n_tokens_neox': 449, 'n_words': 97}