<commit_before>CC = gcc
CCFLAGS = -O1 -Wall -I/usr/local/include -L/usr/local/lib

BUILDTARGET = bin/cpop
CHECKTARGET = bin/test

BUILDOBJECTS = bin/functions.o bin/mergesort.o
CHECKOBJECTS = bin/check_functions.o bin/check_mergesort.o

BUILDMAIN = bin/main.o
CHECKMAIN = bin/check_all.o

HEADERS = src/*.h

build: $(BUILDTARGET)

check: $(CHECKTARGET)
	@ $(CHECKTARGET)

$(BUILDTARGET): clean $(BUILDOBJECTS) $(BUILDMAIN) $(HEADERS)
	@ $(CC) $(CCFLAGS) bin/*.o -o $(BUILDTARGET)

$(CHECKTARGET): clean $(BUILDOBJECTS) $(CHECKOBJECTS) $(CHECKMAIN) $(HEADERS)
	@ $(CC) $(CCFLAGS) bin/*.o -o $(CHECKTARGET) -l check

bin/%.o: src/%.c
	@ $(CC) $(CCFLAGS) -c $< -o $@

bin/%.o: spec/%.c
	@ $(CC) $(CCFLAGS) -c $< -o $@<commit_msg>search first for dependencies with matching headers<commit_after>CC = gcc
CCFLAGS = -O1 -Wall -I/usr/local/include -L/usr/local/lib

BUILDTARGET = bin/cpop
CHECKTARGET = bin/test

BUILDOBJECTS = bin/functions.o bin/mergesort.o
CHECKOBJECTS = bin/check_functions.o bin/check_mergesort.o

BUILDMAIN = bin/main.o
CHECKMAIN = bin/check_all.o

ONLYHEADERS = src/*.h

build: $(BUILDTARGET)

check: $(CHECKTARGET)
	@ $(CHECKTARGET)

$(BUILDTARGET): clean $(BUILDOBJECTS) $(BUILDMAIN) $(ONLYHEADERS)
	@ $(CC) $(CCFLAGS) bin/*.o -o $(BUILDTARGET)

$(CHECKTARGET): clean $(BUILDOBJECTS) $(CHECKOBJECTS) $(CHECKMAIN) $(ONLYHEADERS)
	@ $(CC) $(CCFLAGS) bin/*.o -o $(CHECKTARGET) -l check

bin/%.o: src/%.c src/%.h
	@ $(CC) $(CCFLAGS) -c $< -o $@

bin/%.o: spec/%.c spec/%.h
	@ $(CC) $(CCFLAGS) -c $< -o $@

bin/%.o: src/%.c
	@ $(CC) $(CCFLAGS) -c $< -o $@

bin/%.o: spec/%.c
	@ $(CC) $(CCFLAGS) -c $< -o $@
{'fraction_non_alphanumeric': 0.2123456790123457, 'fraction_numerical': 0.0012345679012345679, 'mean_word_length': 3.9571865443425076, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7328927', 'n_tokens_mistral': 692, 'n_tokens_neox': 659, 'n_words': 146}