<commit_before>SRCS=wrapper.c compat.c
OBJS=wrapper.o compat.o
TSTSRC=test.c
TSTOBJ=test.o
TSTPRG=test
LIB=wrapper.so
CFLAGS=-fPIC -Wall -ansi -pedantic -std=c99
WRAPLDFLAGS= -shared -fPIC -ldl -lc -nostdlib
STRIP=strip


all: $(OBJS)
	$(CC) $(WRAPCFLAGS) $(WRAPLDFLAGS) -o $(LIB) $(OBJS)

release: test
	$(CC) $(WRAPCFLAGS) $(WRAPLDFLAGS) -o $(LIB) $(SRCS)
	$(STRIP) $(LIB)

test: 
	$(CC) -o $(TSTPRG) $(TSTSRC)

clean:
	$(RM) -f *.o *.so $(TSTPRG) $(LIB)
<commit_msg>Add -Werror as well. Yeah I'm a masochist.<commit_after>SRCS=wrapper.c compat.c
OBJS=wrapper.o compat.o
TSTSRC=test.c
TSTOBJ=test.o
TSTPRG=test
LIB=wrapper.so
CFLAGS=-fPIC -Wall -Werror -ansi -pedantic -std=c99
WRAPLDFLAGS= -shared -fPIC -ldl -lc -nostdlib
STRIP=strip


all: $(OBJS)
	$(CC) $(WRAPCFLAGS) $(WRAPLDFLAGS) -o $(LIB) $(OBJS)

release: test
	$(CC) $(WRAPCFLAGS) $(WRAPLDFLAGS) -o $(LIB) $(SRCS)
	$(STRIP) $(LIB)

test: 
	$(CC) -o $(TSTPRG) $(TSTSRC)

clean:
	$(RM) -f *.o *.so $(TSTPRG) $(LIB)

{'fraction_non_alphanumeric': 0.2082051282051282, 'fraction_numerical': 0.0041025641025641026, 'mean_word_length': 4.392265193370166, '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': '4696766', 'n_tokens_mistral': 476, 'n_tokens_neox': 462, 'n_words': 108}