<commit_before>## Directories and Files
PACKAGE := $(notdir ${CURDIR})
SRCDIR := .
OBJDIR := build
INCLUDEDIR := -isystem /usr/local/include -isystem ${HOME}/local/include
PROGRAM := a.out


## Directories and Files
SRCS := $(wildcard ${SRCDIR}/*.cpp)
OBJS := $(notdir $(SRCS:.cpp=.o))
OBJS := $(addprefix ${OBJDIR}/,${OBJS})
vpath %.cpp ${SRCDIR}


## Options
GXX := $(notdir $(firstword $(foreach x,g++-5 g++-4.9 g++-4.8 g++,$(shell which $x))))
CXX_ARRAY := clang++ ${GXX}
CXX := $(firstword $(foreach x,${CXX_ARRAY},$(shell which $x)))
CC := $(CXX)
CPPFLAGS := -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing ${INCLUDEDIR} ${CPPDBG} -ftemplate-depth=512
CXXFLAGS := -std=c++14 -O3 ${CXXDBG}
LDFLAGS := -L${HOME}/local/lib -L/usr/local/lib
LDLIBS := -lsfmt -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lz
TARGET_ARCH := -march=core2 -m64 -msse -msse2 -msse3

ifneq (,$(filter $(CXX), ${GXX}))
  CXXFLAGS += -mfpmath=sse
  CPPFLAGS += -pthread -D_GLIBCXX_USE_NANOSLEEP
  LDFLAGS += -L${HOME}/local/boost-gcc/lib -static-libstdc++
else
  CXXFLAGS += -stdlib=libc++
  LDFLAGS += -L${HOME}/local/boost-clang/lib
  ifeq ($(shell uname), Linux)
    LDLIBS += -lpthread -lsupc++
  endif
endif

export CXX CC TARGET_ARCH

## Targets<commit_msg>Accept boost shared library<commit_after>## Directories and Files
PACKAGE := $(notdir ${CURDIR})
SRCDIR := .
OBJDIR := build
INCLUDEDIR := -isystem /usr/local/include -isystem ${HOME}/local/include
PROGRAM := a.out


## Directories and Files
SRCS := $(wildcard ${SRCDIR}/*.cpp)
OBJS := $(notdir $(SRCS:.cpp=.o))
OBJS := $(addprefix ${OBJDIR}/,${OBJS})
vpath %.cpp ${SRCDIR}


## Options
GXX := $(notdir $(firstword $(foreach x,g++-6 g++-5 g++,$(shell which $x 2>/dev/null))))
CXX_ARRAY := clang++ ${GXX}
CXX := $(firstword $(foreach x,${CXX_ARRAY},$(shell which $x)))
CC := $(CXX)
CPPFLAGS := -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing ${INCLUDEDIR} ${CPPDBG} -ftemplate-depth=512
CXXFLAGS := -std=c++14 -O3 ${CXXDBG}
LDFLAGS = -L${HOME}/local/lib -L${BOOST}/lib -Wl,-rpath,${BOOST}/lib
LDLIBS := -lsfmt -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lboost_zlib
TARGET_ARCH := -march=core2 -m64 -msse -msse2 -msse3

ifneq (,$(filter $(CXX), ${GXX}))
  CXXFLAGS += -mfpmath=sse
		BOOST := ${HOME}/local/boost-gcc
  CPPFLAGS += -pthread -D_GLIBCXX_USE_NANOSLEEP
else
  CXXFLAGS += -stdlib=libc++
		BOOST := ${HOME}/local/boost-clang
  ifeq ($(shell uname), Linux)
    LDLIBS += -lpthread -lsupc++
  endif
endif

export CXX CC TARGET_ARCH

## Targets
{'fraction_non_alphanumeric': 0.2006220839813375, 'fraction_numerical': 0.01166407465007776, 'mean_word_length': 4.56926406926407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4947959', 'n_tokens_mistral': 1055, 'n_tokens_neox': 995, 'n_words': 228}