<commit_before># makefile name : Makefile
# Author        : <NAME>
# Copyright     : Apache License 2.0
# Summary       : The makefile for compiling libxw on Linux with gcc

CC = gcc
BASE = .
OUTDIR = $(BASE)/bin
OBJDIR = $(BASE)/obj
SRCDIR = $(BASE)/src
CFLAGSG = $(INCLUDE) -fPIC
INCLUDE = -I$(INC)
INC = $(BASE)/include
SYMBOL_DEF = libxw.def
STSYMBOL_DEF = st.sym
DYSYMBOL_DEF = dy.map
LIN_DEF = $(STSYMBOL_DEF) $(DYSYMBOL_DEF)
SOOPT = -shared -lpthread -Wl,--retain-symbols-file $(STSYMBOL_DEF) -Wl,--version-script $(DYSYMBOL_DEF)
INSDIR = /usr/lib
INCLDIR = /usr/include
LIBNAME = libxw.so

TESTAPL = testlibxw
TESTINCL = $(INCLUDE) -I$(INCLDIR)/CUnit
TESTLNK = -lpthread -lxw -lcunit
TESTOPT = -Wall -O2 $(TESTINCL) $(TESTLNK)
TESTDIR = $(BASE)/test

VPATH = $(SRCDIR):$(INC):$(OBJDIR):$(OUTDIR):$(TESTDIR)

so: $(LIBNAME)
OBJ = convstr.o trimstr.o minivm.o stqu.o crosslnk.o
TARGET = $(OBJ)

objects: $(TARGET)
$(TARGET): %.o: %.c<commit_msg>add the compiling rule for sort.c.<commit_after># makefile name : Makefile
# Author        : <NAME>
# Copyright     : Apache License 2.0
# Summary       : The makefile for compiling libxw on Linux with gcc

CC = gcc
BASE = .
OUTDIR = $(BASE)/bin
OBJDIR = $(BASE)/obj
SRCDIR = $(BASE)/src
CFLAGSG = $(INCLUDE) -fPIC
INCLUDE = -I$(INC)
INC = $(BASE)/include
SYMBOL_DEF = libxw.def
STSYMBOL_DEF = st.sym
DYSYMBOL_DEF = dy.map
LIN_DEF = $(STSYMBOL_DEF) $(DYSYMBOL_DEF)
SOOPT = -shared -lpthread -Wl,--retain-symbols-file $(STSYMBOL_DEF) -Wl,--version-script $(DYSYMBOL_DEF)
INSDIR = /usr/lib
INCLDIR = /usr/include
LIBNAME = libxw.so

TESTAPL = testlibxw
TESTINCL = $(INCLUDE) -I$(INCLDIR)/CUnit
TESTLNK = -lpthread -lxw -lcunit
TESTOPT = -Wall -O2 $(TESTINCL) $(TESTLNK)
TESTDIR = $(BASE)/test

VPATH = $(SRCDIR):$(INC):$(OBJDIR):$(OUTDIR):$(TESTDIR)

so: $(LIBNAME)
OBJ = convstr.o trimstr.o sort.o minivm.o stqu.o crosslnk.o
TARGET = $(OBJ)

objects: $(TARGET)
$(TARGET): %.o: %.c
{'fraction_non_alphanumeric': 0.17046632124352332, 'fraction_numerical': 0.0031088082901554403, 'mean_word_length': 4.054973821989528, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '385990', 'n_tokens_mistral': 796, 'n_tokens_neox': 762, 'n_words': 187}