<commit_before>BASEDIR = .
TARGET := ./xcode/build/Debug/libspinel.a
CC = g++
LIBS = -lmruby
ALL_CFLAGS = -g -Wall
OBJECT = $(patsubst %.cpp,%.o,$(wildcard $(BASEDIR)/src/*.cpp))
INCLUDES = -I$(BASEDIR)/src -I$(BASEDIR)/include -I$(BASEDIR)/lib
RM_F := rm -f
ARCHIVE_LIBRARY = 1

.PHONY : all
all : $(TARGET)

$(TARGET) : mruby $(OBJECT)
	$(AR) r $@ $(OBJECT) $(BASEDIR)/vendor/mruby/src/*.o

$(OBJECT) : %.o : %.cpp
	$(CC) $(ALL_CFLAGS) $(INCLUDES) -c $< -o $@
	
.PHONY : mruby
mruby:<commit_msg>Adds mrblib objects to build<commit_after>BASEDIR = .
BUILD_DIR = ./build
TARGET := $(BUILD_DIR)/libspinel.a
CC = g++
ALL_CFLAGS = -g -Wall
OBJECT = $(patsubst %.cpp,%.o,$(wildcard $(BASEDIR)/src/*.cpp))
INCLUDES = -I$(BASEDIR)/src -I$(BASEDIR)/include -I$(BASEDIR)/lib
RM_F := rm -f

.PHONY : all
all : $(TARGET)

$(TARGET) : mruby $(OBJECT)
	$(AR) r $@ $(OBJECT) $(BASEDIR)/vendor/mruby/src/*.o $(BASEDIR)/vendor/mruby/mrblib/*.o

$(OBJECT) : %.o : %.cpp
	$(CC) $(ALL_CFLAGS) $(INCLUDES) -c $< -o $@
	
.PHONY : mruby
mruby:
{'fraction_non_alphanumeric': 0.23874755381604695, 'fraction_numerical': 0.0009784735812133072, 'mean_word_length': 3.8483412322274884, 'pattern_counts': {'":': 0, '<': 5, '<?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': '991722', 'n_tokens_mistral': 464, 'n_tokens_neox': 449, 'n_words': 92}