<commit_before>--- makefile
+++ makefile
@@ -21,7 +21,7 @@
 CC = gcc -fpic -pedantic
 DEBUG=-g -Wall -Wno-char-subscripts -O
 Osuf=o
-SOsuf=so
+SOsuf=dylib
 LIBsuf=a
 EXE_EXT=
 LIBPREFIX=lib
@@ -30,11 +30,11 @@ RM= -rm -f
 AR= ar crs

 # Linux
-LD = gcc
-LDFLAGS = -shared
-DEBUG=-g -Wno-char-subscripts -O
-SYS_LIBS= -ldl -lm
-PLATFORM_FEATURES= -DSUN_DL=1
+# LD = gcc
+# LDFLAGS = -shared
+# DEBUG=-g -Wno-char-subscripts -O
+# SYS_LIBS= -ldl -lm
+# PLATFORM_FEATURES= -DSUN_DL=1

 # Cygwin
 #PLATFORM_FEATURES = -DUSE_STRLWR=0
@@ -44,11 +44,11 @@ PLATFORM_FEATURES= -DSUN_DL=1
 #PLATFORM_FEATURES = -DUSE_STRLWR=0

 # Mac OS X
-#LD = gcc
-#LDFLAGS = --dynamiclib
-#DEBUG=-g -Wno-char-subscripts -O
-#SYS_LIBS= -ldl
-#PLATFORM_FEATURES= -DUSE_STRLWR=1 -D__APPLE__=1 -DOSX=1
+LD = gcc
+LDFLAGS = --shared
+DEBUG=-g -Wno-char-subscripts -O
+SYS_LIBS= -ldl
+PLATFORM_FEATURES= -DUSE_STRLWR=1 -D__APPLE__=1 -DOSX=1


 # Solaris
<commit_msg>tinyscheme: Amend makefile patch to include init.scm. (#42)<commit_after>--- makefile
+++ makefile
@@ -21,7 +21,7 @@
 CC = gcc -fpic -pedantic
 DEBUG=-g -Wall -Wno-char-subscripts -O
 Osuf=o
-SOsuf=so
+SOsuf=dylib
 LIBsuf=a
 EXE_EXT=
 LIBPREFIX=lib
@@ -30,11 +30,11 @@ RM= -rm -f
 AR= ar crs

 # Linux
-LD = gcc
-LDFLAGS = -shared
-DEBUG=-g -Wno-char-subscripts -O
-SYS_LIBS= -ldl -lm
-PLATFORM_FEATURES= -DSUN_DL=1
+# LD = gcc
+# LDFLAGS = -shared
+# DEBUG=-g -Wno-char-subscripts -O
+# SYS_LIBS= -ldl -lm
+# PLATFORM_FEATURES= -DSUN_DL=1

 # Cygwin
 #PLATFORM_FEATURES = -DUSE_STRLWR=0
@@ -44,11 +44,11 @@ PLATFORM_FEATURES= -DSUN_DL=1
 #PLATFORM_FEATURES = -DUSE_STRLWR=0

 # Mac OS X
-#LD = gcc
-#LDFLAGS = --dynamiclib
-#DEBUG=-g -Wno-char-subscripts -O
-#SYS_LIBS= -ldl
-#PLATFORM_FEATURES= -DUSE_STRLWR=1 -D__APPLE__=1 -DOSX=1
+LD = gcc
+LDFLAGS = --shared
+DEBUG=-g -Wno-char-subscripts -O
+SYS_LIBS= -ldl
+PLATFORM_FEATURES= -DUSE_STRLWR=1 -D__APPLE__=1 -DOSX=1 -DInitFile="\"$(INITDEST)/init.scm\""


 # Solaris

{'fraction_non_alphanumeric': 0.18112244897959184, 'fraction_numerical': 0.03469387755102041, 'mean_word_length': 3.5817757009345796, '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': '794016', 'n_tokens_mistral': 1002, 'n_tokens_neox': 954, 'n_words': 190}