<commit_before># selects opencv 2.1 or 2.0
OPENCV_VERSION = 210

FLAGS += -g -O3 -Wall -Wextra -pedantic -MMD
FLAGS += -DOPENCV_VERSION=$(OPENCV_VERSION)
FLAGS += -I../fltkVisionUtils/

CXXFLAGS = $(FLAGS)
CFLAGS = $(FLAGS) --std=gnu99

LDFLAGS  += -g
LDLIBS   += -lX11 -lXft -lXinerama

ifeq ($(OPENCV_VERSION), 210)
  OPENCV_LIBS = -lopencv_core -lopencv_imgproc -lopencv_highgui
else
  OPENCV_LIBS = -lcv
endif

FFMPEG_LIBS = -lavformat -lavcodec -lswscale -lavutil
LDLIBS += -lfltk $(OPENCV_LIBS) -lpthread -ldc1394 $(FFMPEG_LIBS) ../fltkVisionUtils/fltkVisionUtils.a

all: worm3

SOURCE_WILDCARD = *.cc *.c *.cpp
SOURCES = $(wildcard $(SOURCE_WILDCARD) $(patsubst %,cartesian/%, $(SOURCE_WILDCARD)) $(patsubst %,Fl_Rotated_Text/%, $(SOURCE_WILDCARD)))

SOURCE_OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))

worm3: $(SOURCE_OBJECTS)
	$(CXX) $(LDFLAGS) $^ $(LDLIBS) -o $@

<commit_msg>No longer generating pedantic warnings. They were a bit too pedantic<commit_after># selects opencv 2.1 or 2.0
OPENCV_VERSION = 210

FLAGS += -g -O3 -Wall -Wextra -MMD
FLAGS += -DOPENCV_VERSION=$(OPENCV_VERSION)
FLAGS += -I../fltkVisionUtils/

CXXFLAGS = $(FLAGS)
CFLAGS = $(FLAGS) --std=gnu99

LDFLAGS  += -g
LDLIBS   += -lX11 -lXft -lXinerama

ifeq ($(OPENCV_VERSION), 210)
  OPENCV_LIBS = -lopencv_core -lopencv_imgproc -lopencv_highgui
else
  OPENCV_LIBS = -lcv
endif

FFMPEG_LIBS = -lavformat -lavcodec -lswscale -lavutil
LDLIBS += -lfltk $(OPENCV_LIBS) -lpthread -ldc1394 $(FFMPEG_LIBS) ../fltkVisionUtils/fltkVisionUtils.a

all: worm3

SOURCE_WILDCARD = *.cc *.c *.cpp
SOURCES = $(wildcard $(SOURCE_WILDCARD) $(patsubst %,cartesian/%, $(SOURCE_WILDCARD)) $(patsubst %,Fl_Rotated_Text/%, $(SOURCE_WILDCARD)))

SOURCE_OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))

worm3: $(SOURCE_OBJECTS)
	$(CXX) $(LDFLAGS) $^ $(LDLIBS) -o $@


{'fraction_non_alphanumeric': 0.16183706943685075, 'fraction_numerical': 0.022963367960634227, 'mean_word_length': 4.648148148148148, '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': '2686718', 'n_tokens_mistral': 821, 'n_tokens_neox': 757, 'n_words': 167}