<commit_before>CC=g++
CFLAGS=-c -Wall -g
LDFLAGS= -lOpenCL
SOURCES= main.c opencl_error.c opencl_handler.c opencl_test.c
OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=hh_freak_detector
VPATH=src/

all: $(SOURCES) $(EXECUTABLE)

clean: 
	rm $(OBJECTS) $(EXECUTABLE)
	    
$(EXECUTABLE): $(OBJECTS) 
	$(CC) $(OBJECTS) $(LDFLAGS) -o $@

.c.o:
	$(CC) $(CFLAGS) $< -o $@
<commit_msg>Adds profile and debug compile modes<commit_after>CC=g++
CFLAGS=-c -Wall
LDFLAGS= -lOpenCL
SOURCES= main.c opencl_error.c opencl_handler.c opencl_test.c
OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=hh_freak_detector
VPATH=src/

all: $(SOURCES) $(EXECUTABLE)

debug: CFLAGS += -DDEBUG -g
debug: all

profile: CFLAGS += -DPROFILE
profile: all

clean: 
	rm $(OBJECTS) $(EXECUTABLE)
	    
$(EXECUTABLE): $(OBJECTS) 
	$(CC) $(OBJECTS) $(LDFLAGS) -o $@

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

{'fraction_non_alphanumeric': 0.1907032181168057, 'fraction_numerical': 0.0, 'mean_word_length': 4.675675675675675, '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': '2778173', 'n_tokens_mistral': 386, 'n_tokens_neox': 355, 'n_words': 77}