<commit_before>RAVA_SRC=\
	rava_core_object.c \
	rava_core_serialize.c \
	rava_core_state.c \
	rava_core_stream.c \
	rava_core.c \
	rava_fs.c \
	rava_process_cond.c \
	rava_process_fiber.c \
	rava_process_idle.c \
	rava_process_spawn.c \
	rava_process_thread.c \
	rava_process_timer.c \
	rava_process.c \
	rava_socket_pipe.c \
	rava_socket_tcp.c \
	rava_socket_udp.c \
	rava_socket.c \
	rava_system.c \
	rava.c

RAVA_OBJ=$(RAVA_SRC:.c=.o)

RAVA_GEN=\
	librava.a \
	rava.so \
	ravamain.a

RAVA_INC=\
	../libs/luajit/libluajit.a \
	../libs/libuv/libuv.a

CCARGS=-I../libs/luajit/ -I../libs/libuv/ -pthread -ldl -lm

CC:=gcc
LD:=ld
CP:=cp
RM:=rm -rf
MD:=mkdir -p
MK:=$(MAKE) -C
CL:=$(MAKE) clean -C

EACH=../utils/each.sh

all: $(RAVA_GEN) qmain.o

ravamain.a: main.o librava.a
	@$(EACH) LD $+
	@$(EACH) TO $@
	@$(LD) -r -static $+ -o $@

rava.so: librava.a
	@$(EACH) CC $@
	@$(CC) -shared $(CCARGS) $+ -o $@

librava.a: $(RAVA_OBJ) $(RAVA_INC)
	@$(EACH) LD $+
	@$(EACH) TO $@
	@$(LD) -r -static $+ -o $@

.c.o:
	@$(EACH) CC $@
	@$(CC) -fPIC -c $(CCARGS) $<

clean:
	@$(EACH) RM main.o $(RAVA_OBJ) $(RAVA_GEN)
	@rm -f main.o $(RAVA_OBJ) $(RAVA_GEN)<commit_msg>improving readable make<commit_after>RAVA_SRC=\
	rava_core_object.c \
	rava_core_serialize.c \
	rava_core_state.c \
	rava_core_stream.c \
	rava_core.c \
	rava_fs.c \
	rava_process_cond.c \
	rava_process_fiber.c \
	rava_process_idle.c \
	rava_process_spawn.c \
	rava_process_thread.c \
	rava_process_timer.c \
	rava_process.c \
	rava_socket_pipe.c \
	rava_socket_tcp.c \
	rava_socket_udp.c \
	rava_socket.c \
	rava_system.c \
	rava.c

RAVA_OBJ=$(RAVA_SRC:.c=.o)

RAVA_GEN=\
	librava.a \
	rava.so \
	ravamain.a

RAVA_INC=\
	../libs/luajit/libluajit.a \
	../libs/libuv/libuv.a

CCARGS=-I../libs/luajit/ -I../libs/libuv/ -pthread -ldl -lm

CC:=gcc
LINK:=ld
COPY:=cp
REMOVE:=rm -rf
MKDIR:=mkdir -p
MAKING:=$(MAKE) -C
CLEAN:=$(MAKE) clean -C

EACH=../utils/each.sh
RAVA=../utils/rava.sh

all: $(RAVA_GEN) qmain.o

ravamain.a: main.o librava.a
	@$(EACH) LINK $+
	@$(EACH) INTO $@
	@$(LINK) -r -static $+ -o $@

rava.so: librava.a
	@$(EACH) CC $@
	@$(CC) -shared $(CCARGS) $+ -o $@

librava.a: $(RAVA_OBJ) $(RAVA_INC)
	@$(EACH) LINK $+
	@$(EACH) INTO $@
	@$(LINK) -r -static $+ -o $@

.c.o:
	@$(EACH) CC $@
	@$(CC) -fPIC -c $(CCARGS) $<

clean:
	@$(EACH) REMOVE main.o $(RAVA_OBJ) $(RAVA_GEN)
	@$(REMOVE) main.o $(RAVA_OBJ) $(RAVA_GEN)
{'fraction_non_alphanumeric': 0.2080536912751678, 'fraction_numerical': 0.0, 'mean_word_length': 3.1478260869565218, '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': '172082', 'n_tokens_mistral': 1310, 'n_tokens_neox': 1231, 'n_words': 195}