<commit_before>debug ?= false

# compiling flags
STD = -std=c99
WARN = -Wall
EXTRA = -pedantic -Wpadded -Werror -Wextra -Wno-unused-parameter
EXTRA += -Wno-unused-function -Wfloat-equal -Winline -Wdisabled-optimization
EXTRA += -Wconversion
EXTRA += -fstack-protector
OTHER = -pipe -g -ggdb3
SHARED =
LDFLAGS += -Wl,-E
MACRO = -D_POSIX_C_SOURCE=200809L
INC = \
    -I. \
    -I../deps/flibs \
    -isystem./pto/idls

ifeq ($(debug), false)
OPT = -O2
else
MACRO += -DSK_DEBUG -O0 -finstrument-functions
endif

# linking flags
DEPS_LDFLAGS = -L../deps/flibs/final_libraries/lib
SKULL_CFLAGS = $(CFLAGS) $(STD) $(WARN) $(EXTRA) $(MACRO) $(OPT) $(SHARED) $(OTHER) $(INC)
SKULL_TP_CFLAGS = $(CFLAGS) $(STD) $(WARN) $(MACRO) $(OPT) $(OTHER) $(INC)
SKULL_LDFLAGS = $(LDFLAGS) $(SHARED) $(OTHER) $(DEPS_LDFLAGS)
SKULL_LIBS = \
    -ldl \
    -pthread \<commit_msg>add O2 for ld<commit_after>debug ?= false

# compiling flags
STD = -std=c99
WARN = -Wall
EXTRA = -pedantic -Wpadded -Werror -Wextra -Wno-unused-parameter
EXTRA += -Wno-unused-function -Wfloat-equal -Winline -Wdisabled-optimization
EXTRA += -Wconversion
EXTRA += -fstack-protector
OTHER = -pipe -g -ggdb3
SHARED =
LDFLAGS += -Wl,-E
MACRO = -D_POSIX_C_SOURCE=200809L
INC = \
    -I. \
    -I../deps/flibs \
    -isystem./pto/idls

ifeq ($(debug), false)
OPT = -O2
else
MACRO += -DSK_DEBUG -O0 -finstrument-functions
endif

# linking flags
DEPS_LDFLAGS = -L../deps/flibs/final_libraries/lib
SKULL_CFLAGS = $(CFLAGS) $(STD) $(WARN) $(EXTRA) $(MACRO) $(OPT) $(SHARED) $(OTHER) $(INC)
SKULL_TP_CFLAGS = $(CFLAGS) $(STD) $(WARN) $(MACRO) $(OPT) $(OTHER) $(INC)
SKULL_LDFLAGS = $(LDFLAGS) $(OPT) $(SHARED) $(OTHER) $(DEPS_LDFLAGS)
SKULL_LIBS = \
    -ldl \
    -pthread \
{'fraction_non_alphanumeric': 0.18324607329842932, 'fraction_numerical': 0.013379872018615475, 'mean_word_length': 3.6361185983827493, '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': '2700876', 'n_tokens_mistral': 751, 'n_tokens_neox': 716, 'n_words': 158}