<commit_before>CC=clang
CFLAGS=-Wall -std=c99 -pedantic

OBJS = kk_ihex.o
BINS = bin2ihex ihex2bin

all: $(BINS)

bin2ihex: bin2ihex.c kk_ihex.c
	$(CC) $(CFLAGS) $(LDFLAGS) -DKK_IHEX_DISABLE_READING -o $@ $^

ihex2bin: ihex2bin.c kk_ihex.c
	$(CC) $(CFLAGS) $(LDFLAGS) -DKK_IHEX_DISABLE_WRITING -o $@ $^

clean:
	rm -f $(OBJS) $(BINS)<commit_msg>Depend on header<commit_after>CC=clang
CFLAGS=-Wall -std=c99 -pedantic

OBJS = kk_ihex.o kk_ihex_write.o kk_ihex_read.o
BINS = bin2ihex ihex2bin

all: $(BINS)

$(OBJS): kk_ihex.h

kk_ihex_write.o: kk_ihex.c
	$(CC) $(CFLAGS) -DKK_IHEX_DISABLE_READING -c -o $@ $<

kk_ihex_read.o: kk_ihex.c
	$(CC) $(CFLAGS) -DKK_IHEX_DISABLE_WRITING -c -o $@ $<

bin2ihex: bin2ihex.c kk_ihex_write.o
	$(CC) $(CFLAGS) $(LDFLAGS) -DKK_IHEX_DISABLE_READING -o $@ $+

ihex2bin: ihex2bin.c kk_ihex_read.o
	$(CC) $(CFLAGS) $(LDFLAGS) -DKK_IHEX_DISABLE_WRITING -o $@ $+


clean:
	rm -f $(OBJS) $(BINS)
{'fraction_non_alphanumeric': 0.17263843648208468, 'fraction_numerical': 0.01737242128121607, 'mean_word_length': 4.7625, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3880844', 'n_tokens_mistral': 490, 'n_tokens_neox': 479, 'n_words': 83}