<commit_before>CC=cc
CFLAGS = -std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -I. -I./src
LDFLAGS = -lm

ifeq ($(OS),Windows_NT)
	CC = gcc
	CFLAGS += -DWINDOWS
	LDFLAGS += -lws2_32
else
	UNAME_S := $(shell uname -s)
	ifeq ($(UNAME_S),Linux)
		AR=gcc-ar
		CFLAGS += -DLINUX -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
		LDFLAGS += -Wl,-rpath=./
	endif
	ifeq ($(UNAME_S),Darwin)
		AR=ar
		CFLAGS += -DDARWIN
	endif

	CFLAGS += -fPIC
	LDFLAGS += -ldl
endif

DEBUG ?= 0
ifeq ($(DEBUG),0)
	CFLAGS += -O2 -flto -DNDEBUG
else
	CFLAGS += -g -DDEBUG
endif<commit_msg>add shlwapi to Windows LDFLAGS<commit_after>CC=cc
CFLAGS = -std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -I. -I./src
LDFLAGS = -lm

ifeq ($(OS),Windows_NT)
	CC = gcc
	CFLAGS += -DWINDOWS
	LDFLAGS += -lws2_32 -lShlwapi
else
	UNAME_S := $(shell uname -s)
	ifeq ($(UNAME_S),Linux)
		AR=gcc-ar
		CFLAGS += -DLINUX -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
		LDFLAGS += -Wl,-rpath=./
	endif
	ifeq ($(UNAME_S),Darwin)
		AR=ar
		CFLAGS += -DDARWIN
	endif

	CFLAGS += -fPIC
	LDFLAGS += -ldl
endif

DEBUG ?= 0
ifeq ($(DEBUG),0)
	CFLAGS += -O2 -flto -DNDEBUG
else
	CFLAGS += -g -DDEBUG
endif
{'fraction_non_alphanumeric': 0.1662269129287599, 'fraction_numerical': 0.019349164467897976, 'mean_word_length': 3.326996197718631, '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': '4339998', 'n_tokens_mistral': 556, 'n_tokens_neox': 518, 'n_words': 120}