<commit_before>CXX = g++
AR = ar

# Colourized output. Call with: $(call print, "z0mg t3h culurz!")
define print
      @tput setaf 6
      @echo $1
      @tput sgr0
endef

# Project information.
SOURCES = $(wildcard *.cpp)
OBJECTS = $(SOURCES:.cpp=.o)
LIBRARYOBJECTS = $(filter-out main.o, $(OBJECTS))
EXECUTABLE = Gif2UnicornHat
LIBRARY = libGif2UnicornHat.a

# 3rd Party Libraries
WS2812PATH = ./UnicornHat/python/ws2812/lib/
LDFLAGS += -lpthread -lgif -L$(WS2812PATH) -lws2812-RPi

# Build Flags
OPTIMIZATION_LEVEL = -O0 -g -ggdb
WARNINGS = -Wall -Wextra -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wunreachable-code
STRICTNESS = -pedantic
INCLUDES += -isystem $(WS2812PATH)<commit_msg>Remove ProgramOptions.o from the static library since it isn't used.<commit_after>CXX = g++
AR = ar

# Colourized output. Call with: $(call print, "z0mg t3h culurz!")
define print
      @tput setaf 6
      @echo $1
      @tput sgr0
endef

# Project information.
SOURCES = $(wildcard *.cpp)
OBJECTS = $(SOURCES:.cpp=.o)
LIBRARYOBJECTS = $(filter-out ProgramOptions.o, $(filter-out main.o, $(OBJECTS)))
EXECUTABLE = Gif2UnicornHat
LIBRARY = libGif2UnicornHat.a

# 3rd Party Libraries
WS2812PATH = ./UnicornHat/python/ws2812/lib/
LDFLAGS += -lpthread -lgif -L$(WS2812PATH) -lws2812-RPi

# Build Flags
OPTIMIZATION_LEVEL = -O0 -g -ggdb
WARNINGS = -Wall -Wextra -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wredundant-decls -Wunreachable-code
STRICTNESS = -pedantic
INCLUDES += -isystem $(WS2812PATH)
{'fraction_non_alphanumeric': 0.13153153153153152, 'fraction_numerical': 0.036036036036036036, 'mean_word_length': 4.079268292682927, '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': '2152300', 'n_tokens_mistral': 702, 'n_tokens_neox': 641, 'n_words': 154}