<commit_before>BENZ_SRCS = $(wildcard extlib/benz/*.c)
BENZ_OBJS = $(BENZ_SRCS:.c=.o)

PICRIN_SRCS = \
	src/main.c\
	src/load_piclib.c\
	src/init_contrib.c
PICRIN_OBJS = \
	$(PICRIN_SRCS:.c=.o)

CONTRIB_SRCS =
CONTRIB_OBJS = $(CONTRIB_SRCS:.c=.o)
CONTRIB_LIBS =
CONTRIB_INITS =
CONTRIB_TESTS =
CONTRIB_DOCS = $(wildcard contrib/*/docs/*.rst)

CFLAGS += -I./extlib/benz/include -Wall -Wextra
LDFLAGS += -lm

prefix = /usr/local

all: CFLAGS += -O2 -DNDEBUG=1
all: bin/picrin

include $(sort $(wildcard contrib/*/nitro.mk))

debug: CFLAGS += -O0 -g
debug: bin/picrin

bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a
	$(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a $(LDFLAGS)

src/load_piclib.c: $(CONTRIB_LIBS)
	perl etc/mkloader.pl $(CONTRIB_LIBS) > $@<commit_msg>update cflags<commit_after>BENZ_SRCS = $(wildcard extlib/benz/*.c)
BENZ_OBJS = $(BENZ_SRCS:.c=.o)

PICRIN_SRCS = \
	src/main.c\
	src/load_piclib.c\
	src/init_contrib.c
PICRIN_OBJS = \
	$(PICRIN_SRCS:.c=.o)

CONTRIB_SRCS =
CONTRIB_OBJS = $(CONTRIB_SRCS:.c=.o)
CONTRIB_LIBS =
CONTRIB_INITS =
CONTRIB_TESTS =
CONTRIB_DOCS = $(wildcard contrib/*/docs/*.rst)

CFLAGS += -I./extlib/benz/include -Wall -Wextra
LDFLAGS += -lm

prefix = /usr/local

all: CFLAGS += -O2 -DNDEBUG=1
all: bin/picrin

include $(sort $(wildcard contrib/*/nitro.mk))

debug: CFLAGS += -O0 -g -ansi -std=c89 -pedantic
debug: bin/picrin

bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a
	$(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a $(LDFLAGS)

src/load_piclib.c: $(CONTRIB_LIBS)
	perl etc/mkloader.pl $(CONTRIB_LIBS) > $@
{'fraction_non_alphanumeric': 0.1814791796146675, 'fraction_numerical': 0.004972032318210068, 'mean_word_length': 4.366666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4747651', 'n_tokens_mistral': 811, 'n_tokens_neox': 741, 'n_words': 124}