<commit_before>LIBRARY=libGP_core
SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)
HEADERS=$(wildcard *.h)
ALGORITHMS=$(wildcard ../algo/*.algo.h)
CFLAGS=-W -Wall -O2 -fPIC -I../

HEADER_LOC=/usr/include/
LIB_LOC=/usr/lib/

.PHONY: all clean

all: $(LIBRARY)
	cd tests && $(MAKE) all

$(LIBRARY): $(LIBRARY).a $(LIBRARY).so

$(OBJECTS): $(HEADERS) $(ALGORITHMS)

$(LIBRARY).a: $(OBJECTS) 
	ar crus $@ $^

$(LIBRARY).so: $(OBJECTS)<commit_msg>Made tests non-mandatory (use 'make tests' to build them).<commit_after>LIBRARY=libGP_core
SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)
HEADERS=$(wildcard *.h)
ALGORITHMS=$(wildcard ../algo/*.algo.h)
CFLAGS=-W -Wall -O2 -fPIC -I../

HEADER_LOC=/usr/include/
LIB_LOC=/usr/lib/

.PHONY: all clean tests

all: $(LIBRARY)

tests: $(LIBRARY)
	cd tests && $(MAKE) all

$(LIBRARY): $(LIBRARY).a $(LIBRARY).so

$(OBJECTS): $(HEADERS) $(ALGORITHMS)

$(LIBRARY).a: $(OBJECTS) 
	ar crus $@ $^

$(LIBRARY).so: $(OBJECTS)
{'fraction_non_alphanumeric': 0.23060796645702306, 'fraction_numerical': 0.0020964360587002098, 'mean_word_length': 4.650887573964497, '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': '2428926', 'n_tokens_mistral': 455, 'n_tokens_neox': 399, 'n_words': 82}