<commit_before>RM = rm -f
CC = gcc

CFLAGS = -Wall -fPIC

INCLUDES = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux

LFLAGS = 

LIBS = 

SRCS = com_diozero_internal_provider_i2c_NativeI2CDevice.c com_diozero_util_EpollNative.c com_diozero_util_PollNative.c com_diozero_util_SleepUtil.c com_diozero_util.c

OBJS = $(SRCS:.c=.o)

LIB_TARGET = libdiozero-system-utils.so

all: $(LIB_TARGET)

$(LIB_TARGET): $(OBJS)
	@echo [LINK] $(LIB_TARGET)
	@$(CC) -shared -o $(LIB_TARGET) $(OBJS) $(LFLAGS) $(LIBS)

$(MAIN): $(OBJS)
	@echo [LINK] $(MAIN)
	$(CC) -o $(MAIN) $(OBJS) $(LFLAGS) $(LIBS)

.c.o:
	@echo [COMPILE] $<<commit_msg>Work in progress native SPI support<commit_after>RM = rm -f
CC = gcc

CFLAGS = -Wall -fPIC

INCLUDES = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux

LFLAGS = 

LIBS = 

SRCS = com_diozero_internal_provider_i2c_NativeI2CDevice.c com_diozero_internal_provider_spi_NativeSpiDevice.c com_diozero_util_EpollNative.c com_diozero_util_PollNative.c com_diozero_util_SleepUtil.c com_diozero_util.c

OBJS = $(SRCS:.c=.o)

LIB_TARGET = libdiozero-system-utils.so

all: $(LIB_TARGET)

$(LIB_TARGET): $(OBJS)
	@echo [LINK] $(LIB_TARGET)
	@$(CC) -shared -o $(LIB_TARGET) $(OBJS) $(LFLAGS) $(LIBS)

$(MAIN): $(OBJS)
	@echo [LINK] $(MAIN)
	$(CC) -o $(MAIN) $(OBJS) $(LFLAGS) $(LIBS)

.c.o:
	@echo [COMPILE] $<
{'fraction_non_alphanumeric': 0.17119155354449472, 'fraction_numerical': 0.0030165912518853697, 'mean_word_length': 5.319047619047619, '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': '1872362', 'n_tokens_mistral': 607, 'n_tokens_neox': 591, 'n_words': 108}