<commit_before># Main makefile for LogTK

NAME = logtk
VERSION=0.1

INTERFACE_FILES = $(shell find src -name '*.mli')
IMPLEMENTATION_FILES = $(shell find src -name '*.ml')
SUBMODULES = containers datalog
PACKAGES = 
CAML_OPTS = 
CAML_LIBS = str nums unix

# build targets
TARGETS_LIB = logtk.cmxa logtk.cma logtk.cmi
TARGETS_TEST = run_tests.native

# output, ready to install
LIBS = $(addprefix _build/,$(TARGETS_LIB))
INSTALL = $(LIBS)
PWD = $(shell pwd)

OPTIONS = -use-ocamlfind -classic-display

# switch compilation module
MODE ?= debug
ifeq ($(MODE),debug)
	TAGS=-tag debug
endif
ifeq ($(MODE),profile)
	TAGS=-tags debug,profile
endif
ifeq ($(MODE),prod)
	TAGS=-tag noassert
endif

all: bin tests doc
<commit_msg>Makefile 'all' target now generates config<commit_after># Main makefile for LogTK

NAME = logtk
VERSION=0.1

INTERFACE_FILES = $(shell find src -name '*.mli')
IMPLEMENTATION_FILES = $(shell find src -name '*.ml')
SUBMODULES = containers datalog
PACKAGES = 
CAML_OPTS = 
CAML_LIBS = str nums unix

# build targets
TARGETS_LIB = logtk.cmxa logtk.cma logtk.cmi
TARGETS_TEST = run_tests.native

# output, ready to install
LIBS = $(addprefix _build/,$(TARGETS_LIB))
INSTALL = $(LIBS)
PWD = $(shell pwd)

OPTIONS = -use-ocamlfind -classic-display

# switch compilation module
MODE ?= debug
ifeq ($(MODE),debug)
	TAGS=-tag debug
endif
ifeq ($(MODE),profile)
	TAGS=-tags debug,profile
endif
ifeq ($(MODE),prod)
	TAGS=-tag noassert
endif

all:
	ocaml setup.ml -all

{'fraction_non_alphanumeric': 0.12330623306233063, 'fraction_numerical': 0.0027100271002710027, 'mean_word_length': 4.83794466403162, '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': '5019538', 'n_tokens_mistral': 555, 'n_tokens_neox': 544, 'n_words': 157}