<commit_before>SRC=	lib/writer.C
TESTS=	tests/t_rgph.c
ALL=	librgph.so

CFLAGS+=	-Wall -DNDEBUG
SHLDFLAGS=	-fPIC -shared

all: ${ALL}

librgph.so: ${SRC}
	${CC} ${CFLAGS} ${SHLDFLAGS} ${SRC} -o librgph.so

t_rgph: ${TESTS}
	${CC} ${CFLAGS} -fPIC -Ilib ${TESTS} -L. -lrgph -o t_rgph

clean:
	rm -f ${ALL} test.rgph
<commit_msg>Make sure you don't pay for C++ features you don't use.<commit_after>SRC=	lib/writer.C
TESTS=	tests/t_rgph.c
ALL=	librgph.so

# Comment this line out to debug.
CFLAGS+=	-DNDEBUG 

CXXOFF+=	-nostdinc++ -fno-exceptions -fno-rtti
CFLAGS+=	-Wall -Ilib ${CXXOFF}
SHLDFLAGS=	-fPIC -shared

all: ${ALL}

librgph.so: ${SRC}
	${CC} ${CFLAGS} ${SHLDFLAGS} ${SRC} -o librgph.so

t_rgph: ${TESTS}
	${CC} ${CFLAGS} -fPIC -Ilib ${TESTS} -L. -lrgph -o t_rgph

clean:
	rm -f ${ALL} test.rgph

{'fraction_non_alphanumeric': 0.19201995012468828, 'fraction_numerical': 0.0, 'mean_word_length': 3.808383233532934, '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': '4677326', 'n_tokens_mistral': 397, 'n_tokens_neox': 389, 'n_words': 99}