<commit_before>LIB = lib
BIN = bin
SRC = src
MASTER_DIR = $(SRC)/Master
IONODE_DIR = $(SRC)/IOnode
CLIENT_DIR = $(SRC)/Client
COMMON_DIR = $(SRC)/Common

MASTER_LIB = $(MASTER_DIR)/libMaster.so
MASTER = $(MASTER_DIR)/Master

IONODE_LIB = $(IONODE_DIR)/libIOnode.so
IONODE = $(IONODE_DIR)/IOnode

CLIENT_LIB = $(CLIENT_DIR)/libCBB.so

export LIB_FLAG=-shared -fPIC
export PRELOAD = -DCBB_PRELOAD
export FLAG=-g -Wall -DDEBUG
#export FLAG=-O3 -Wall

run:
	@echo 'run make Master'
	@echo 'or make IOnode'
	@echo 'or make User_main'
	@echo 'or make Client'
	@echo 'or make all'

.PHONY:clean clean_all
Master:
	cd $(MASTER_DIR) && $(MAKE)
	mkdir -p bin lib
	mv $(MASTER_LIB) lib
	mv $(MASTER) bin
	echo $$ld_library_path|grep `pwd` || export ld_library_path=`pwd`/lib:$$ld_library_path

IOnode:
	cd $(IONODE_DIR) && $(MAKE)
	mkdir -p bin lib
	mv $(IONODE_LIB) lib
	mv $(IONODE) bin
	echo $$LD_LIBRARY_PATH|grep `pwd` || export LD_LIBRARY_PATH=`pwd`/lib:$$LD_LIBRARY_PATH

Client:
	cd $(CLIENT_DIR) && $(MAKE)
	mkdir -p bin lib
	mv $(CLIENT_LIB) lib
	echo $$LD_LIBRARY_PATH|grep `pwd` || export LD_LIBRARY_PATH=`pwd`/lib:$$LD_LIBRARY_PATH

all: 
	mkdir -p bin lib
	mv *.so lib
	mv $(MASTER_OBJ) bin
	mv $(IONODE_OBJ) bin
	rm -f *.o
	echo $$LD_LIBRARY_PATH|grep `pwd` || export LD_LIBRARY_PATH=`pwd`/lib:$$LD_LIBRARY_PATH

clean:
	rm -f $(BIN)/*
	rm -f $(LIB)/*<commit_msg>fix bug<commit_after>LIB = lib
BIN = bin
SRC = src
MASTER_DIR = $(SRC)/Master
IONODE_DIR = $(SRC)/IOnode
CLIENT_DIR = $(SRC)/Client
COMMON_DIR = $(SRC)/Common

MASTER_LIB = $(MASTER_DIR)/libMaster.so
MASTER = $(MASTER_DIR)/Master

IONODE_LIB = $(IONODE_DIR)/libIOnode.so
IONODE = $(IONODE_DIR)/IOnode

CLIENT_LIB = $(CLIENT_DIR)/libCBB.so

export LIB_FLAG=-shared -fPIC
export PRELOAD = -DCBB_PRELOAD
export FLAG=-g -Wall -DDEBUG
#export FLAG=-O3 -Wall

run:
	@echo 'run make Master'
	@echo 'or make IOnode'
	@echo 'or make User_main'
	@echo 'or make Client'
	@echo 'or make all'

.PHONY:clean clean_all
Master:
	cd $(MASTER_DIR) && $(MAKE)
	mkdir -p bin lib
	mv $(MASTER_LIB) lib
	mv $(MASTER) bin
	echo $$ld_library_path|grep `pwd` || export ld_library_path=`pwd`/lib:$$ld_library_path

IOnode:
	cd $(IONODE_DIR) && $(MAKE)
	mkdir -p bin lib
	mv $(IONODE_LIB) lib
	mv $(IONODE) bin
	echo $$LD_LIBRARY_PATH|grep `pwd` || export LD_LIBRARY_PATH=`pwd`/lib:$$LD_LIBRARY_PATH

Client:
	cd $(CLIENT_DIR) && $(MAKE)
	mkdir -p bin lib
	mv $(CLIENT_LIB) lib
	echo $$LD_LIBRARY_PATH|grep `pwd` || export LD_LIBRARY_PATH=`pwd`/lib:$$LD_LIBRARY_PATH

all:Master IOnode Client

clean:
	rm -f $(BIN)/*
	rm -f $(LIB)/*
{'fraction_non_alphanumeric': 0.1547433903576983, 'fraction_numerical': 0.0007776049766718507, 'mean_word_length': 4.821266968325792, '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': '1228168', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1110, 'n_words': 267}