<commit_before>CC = gcc
CFLAGS = -g -Wall -pthread
LIBS = -lrt -ljpeg

mjpeg-kinect: main.o grabber.o preprocessor.o compressor.o server.o
	$(CC) $(CFLAGS) $^ -o mjpeg-kinect $(LIBS)

main.o: main.c settings.h grabber.h
	$(CC) $(CFLAGS) -c main.c

grabber.o: grabber.c grabber.h settings.h 
	$(CC) $(CFLAGS) -c grabber.c

preprocessor.o: preprocessor.c preprocessor.h settings.h 
	$(CC) $(CFLAGS) -c preprocessor.c

compressor.o: compressor.c compressor.h settings.h 
	$(CC) $(CFLAGS) -c compressor.c

server.o: server.c server.h settings.h 
	$(CC) $(CFLAGS) -c server.c

.PHONY: clean
clean:
	rm *.o<commit_msg>add interthread to Makefile<commit_after>CC = gcc
CFLAGS = -g -Wall -pthread
LIBS = -lrt -ljpeg

mjpeg-kinect: main.o grabber.o preprocessor.o compressor.o server.o interthread.o
	$(CC) $(CFLAGS) $^ -o mjpeg-kinect $(LIBS)

main.o: main.c settings.h grabber.h
	$(CC) $(CFLAGS) -c main.c

grabber.o: grabber.c grabber.h settings.h 
	$(CC) $(CFLAGS) -c grabber.c

preprocessor.o: preprocessor.c preprocessor.h settings.h 
	$(CC) $(CFLAGS) -c preprocessor.c

compressor.o: compressor.c compressor.h settings.h 
	$(CC) $(CFLAGS) -c compressor.c

server.o: server.c server.h settings.h 
	$(CC) $(CFLAGS) -c server.c

interthread.o: interthread.c interthread.h settings.h
	$(CC) $(CFLAGS) -c interthread.c

.PHONY: clean
clean:
	rm *.o
{'fraction_non_alphanumeric': 0.1610738255033557, 'fraction_numerical': 0.0, 'mean_word_length': 3.7253521126760565, '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': '1098173', 'n_tokens_mistral': 573, 'n_tokens_neox': 546, 'n_words': 141}