<commit_before>CC = clang
SOURCE = src/roam_linux.c
DEBUG_CFLAGS = -O0 -g -Wall -Wextra -pedantic -Wno-unused-function -Wno-unused-parameter -fno-strict-aliasing -fomit-frame-pointer -std=gnu11
RELEASE_CFLAGS = -O3 -Wall -Wextra -pedantic -Wno-unused-function -Wno-unused-parameter -m64 -mfpmath=sse -mtune=generic -fno-strict-aliasing -fomit-frame-pointer -std=gnu11 -DNDEBUG
GL_CFLAGS = `pkg-config --cflags gl`
GL_LIBS = `pkg-config --libs gl`
GLEW_CFLAGS = `pkg-config --cflags glew`
GLEW_LIBS = `pkg-config --libs glew`
SDL2_CFLAGS = `pkg-config --cflags sdl2`
SDL2_LIBS = `pkg-config --libs sdl2`
STB_CFLAGS = -Istb

.PHONY: all clean debug release

debug:
	$(CC) $(DEBUG_CFLAGS) $(STB_CFLAGS) $(GL_CFLAGS) $(GLEW_CFLAGS) $(SDL2_CFLAGS) -o roam -lm -lpthread $(SOURCE) $(GL_LIBS) $(GLEW_LIBS) $(SDL2_LIBS)

release:
	$(CC) $(RELEASE_CFLAGS) $(STB_CFLAGS) $(GL_CFLAGS) $(GLEW_CFLAGS) $(SDL2_CFLAGS) -o roam -lm -lpthread $(SOURCE) $(GL_LIBS) $(GLEW_LIBS) $(SDL2_LIBS)

all: debug
<commit_msg>fix makefile<commit_after>CC = clang
SOURCE = src/roam_linux.c
FILES = $(wildcard src/*c) $(wildcard src/*.h) $(wildcard stb/*.h)
DEBUG_CFLAGS = -O0 -g -Wall -Wextra -pedantic -Wno-unused-function -Wno-unused-parameter -fno-strict-aliasing -fomit-frame-pointer -std=gnu11
RELEASE_CFLAGS = -O2 -Wall -Wextra -pedantic -Wno-unused-function -Wno-unused-parameter -m64 -mfpmath=sse -mtune=generic -fno-strict-aliasing -fomit-frame-pointer -std=gnu11 -DNDEBUG
GL_CFLAGS = `pkg-config --cflags gl`
GL_LIBS = `pkg-config --libs gl`
GLEW_CFLAGS = `pkg-config --cflags glew`
GLEW_LIBS = `pkg-config --libs glew`
SDL2_CFLAGS = `pkg-config --cflags sdl2`
SDL2_LIBS = `pkg-config --libs sdl2`
STB_CFLAGS = -Istb

.PHONY: all clean

all: roam

roamdbg: $(FILES)
	$(CC) $(DEBUG_CFLAGS) $(STB_CFLAGS) $(GL_CFLAGS) $(GLEW_CFLAGS) $(SDL2_CFLAGS) -o roamdbg -lm -lpthread $(SOURCE) $(GL_LIBS) $(GLEW_LIBS) $(SDL2_LIBS)

roam:
	$(CC) $(RELEASE_CFLAGS) $(STB_CFLAGS) $(GL_CFLAGS) $(GLEW_CFLAGS) $(SDL2_CFLAGS) -o roam -lm -lpthread $(SOURCE) $(GL_LIBS) $(GLEW_LIBS) $(SDL2_LIBS)

run: roam
	./roam


{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.015414258188824663, 'mean_word_length': 4.553475935828877, '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': '3324430', 'n_tokens_mistral': 933, 'n_tokens_neox': 894, 'n_words': 194}