<commit_before>COMPILE=libtool --tag=CC --mode=compile ${CC} -c
LINK=libtool --tag=CC --mode=link ${CC}

CFLAGS=`pkg-config libgvc --cflags` -Wall -g -O2
LDFLAGS=`pkg-config libgvc --libs` -export-dynamic -dlpreopen self -export-symbols-regex '.*_LTX_library'

all: dot demo simple

dot: dot.lo builtins.lo
	${LINK} ${LDFLAGS} -o $@ dot.lo builtins.lo

dot.lo: dot.c
	${COMPILE} ${CFLAGS} -o $@ dot.c

demo: demo.lo builtins.lo
	${LINK} ${LDFLAGS} -o $@ demo.lo builtins.lo

demo.lo: demo.c
	${COMPILE} ${CFLAGS} -o $@ demo.c

simple: simple.lo builtins.lo
	${LINK} ${LDFLAGS} -o $@ simple.lo builtins.lo

simple.lo: simple.c
	${COMPILE} ${CFLAGS} -o $@ simple.c

builtins.lo: builtins.c
	${COMPILE} ${CFLAGS} -o $@ builtins.c

clean:
	rm -rf *.o *.lo .libs dot demo simple *.png<commit_msg>but the whole point of the libtool magic was to eliminate the need for builtins.c<commit_after>COMPILE=libtool --tag=CC --mode=compile ${CC} -c
LINK=libtool --tag=CC --mode=link ${CC}

CFLAGS=`pkg-config libgvc --cflags` -Wall -g -O2
LDFLAGS=`pkg-config libgvc --libs` -export-dynamic -dlpreopen self -export-symbols-regex '.*_LTX_library'

all: dot demo simple

dot: dot.lo
	${LINK} ${LDFLAGS} -o $@ dot.lo

dot.lo: dot.c
	${COMPILE} ${CFLAGS} -o $@ dot.c

demo: demo.lo
	${LINK} ${LDFLAGS} -o $@ demo.lo

demo.lo: demo.c
	${COMPILE} ${CFLAGS} -o $@ demo.c

simple: simple.lo
	${LINK} ${LDFLAGS} -o $@ simple.lo

simple.lo: simple.c
	${COMPILE} ${CFLAGS} -o $@ simple.c

clean:
	rm -rf *.o *.lo .libs dot demo simple *.png
{'fraction_non_alphanumeric': 0.190224570673712, 'fraction_numerical': 0.001321003963011889, 'mean_word_length': 3.5770392749244713, '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': '63489', 'n_tokens_mistral': 636, 'n_tokens_neox': 617, 'n_words': 171}