<commit_before>#=========================================================================
# AlloCore main makefile
#=========================================================================

# We used to include another configuration file here, but it doesn't seem
# to serve any purpose other than complicate things more than necessary.
#include Makefile.config
# BEGIN old Makefile.config
LIB_NAME	= allocore
include ../Makefile.common


BIG_ENDIAN	= 0
AUDIO_BINDING	= PortAudio
WINDOW_BINDING	= GLUT
RUNTIME_BINDING	= APR
IMAGE_BINDING	= FreeImage
AUTORUN_TESTS	= 1
STRICT_WARNINGS = 1

LIB_DIRS	= /usr/lib/
INC_DIRS	= /usr/include/ 

ifeq ($(PLATFORM), linux)
	CPPFLAGS	+= -I../$(PLATFORM_DIR)/include
else
#	#CPPFLAGS	+= -I../../$(PLATFORM_DIR)/include -I../../$(PLATFORM_DIR)/include
#	LINK_LDFLAGS += -framework Carbon -framework IOKit
endif

#-------------------------------------------------------------------------
# Default variables
#-------------------------------------------------------------------------
#INC_DIR		= $(LIB_NAME)/
INC_DIR		= ./
SRC_DIR		= src/
GFX_DIR		= graphics/
IO_DIR		= io/
MATH_DIR	= math/
PRO_DIR		= protocol/
SPA_DIR		= spatial/
SND_DIR		= sound/
SYS_DIR		= system/
TYP_DIR		= types/
TEST_DIR	= unitTests/

# These are defined below according to platform
DEV_DIR		=
DEV_LIB_DIR 	=

# Source file directories for running executables
RUN_INC_DIRS	?=
RUN_SRC_DIRS	?=
RUN_DIRS	?=
RUN_DIRS	+= examples/

#-------------------------------------------------------------------------
# Platform specific section
#-------------------------------------------------------------------------
# Linux:
ifeq ($(PLATFORM), linux)
	INC_DIRS += $(PREFIX)include/
	LIB_DIRS += $(PREFIX)lib/
	DEV_DIR   = linux/
#	DEV_LIB_DIR = linux/lib$(ARCH)

# Mac OS X:
else ifeq ($(PLATFORM), macosx)
	LDFLAGS	+= -framework Carbon -framework Cocoa -framework IOKit
	DEV_DIR  = osx/
#	DEV_LIB_DIR = osx/lib<commit_msg>remove DEV_DIRS<commit_after>#=========================================================================
# AlloCore main makefile
#=========================================================================

# We used to include another configuration file here, but it doesn't seem
# to serve any purpose other than add complexity.
#include Makefile.config
# BEGIN old Makefile.config
LIB_NAME	= allocore
include ../Makefile.common


BIG_ENDIAN	= 0
AUDIO_BINDING	= PortAudio
WINDOW_BINDING	= GLUT
RUNTIME_BINDING	= APR
IMAGE_BINDING	= FreeImage
AUTORUN_TESTS	= 1
STRICT_WARNINGS = 1

LIB_DIRS	= /usr/lib/
INC_DIRS	= /usr/include/ 

#-------------------------------------------------------------------------
# Default variables
#-------------------------------------------------------------------------
#INC_DIR		= $(LIB_NAME)/
INC_DIR		= ./
SRC_DIR		= src/
GFX_DIR		= graphics/
IO_DIR		= io/
MATH_DIR	= math/
PRO_DIR		= protocol/
SPA_DIR		= spatial/
SND_DIR		= sound/
SYS_DIR		= system/
TYP_DIR		= types/
TEST_DIR	= unitTests/

# These are defined below according to platform
DEV_DIR		=
DEV_LIB_DIR 	=

# Source file directories for running executables
RUN_INC_DIRS	?=
RUN_SRC_DIRS	?=
RUN_DIRS	?=
RUN_DIRS	+= examples/

#-------------------------------------------------------------------------
# Platform specific section
#-------------------------------------------------------------------------
# Linux:
ifeq ($(PLATFORM), linux)
	INC_DIRS += $(PREFIX)include/
	LIB_DIRS += $(PREFIX)lib/
#	DEV_DIR   = linux/
#	DEV_LIB_DIR = linux/lib$(ARCH)

# Mac OS X:
else ifeq ($(PLATFORM), macosx)
	LDFLAGS	+= -framework Carbon -framework Cocoa -framework IOKit
#	DEV_DIR  = osx/
#	DEV_LIB_DIR = osx/lib
{'fraction_non_alphanumeric': 0.3272475795297372, 'fraction_numerical': 0.0016597510373443983, 'mean_word_length': 2.2056737588652484, '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': '3694397', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1110, 'n_words': 276}