BOC v1.0: RS256 auth, Ledger integration, Prometheus metrics, CI/CD, backup

This commit is contained in:
Bernt
2026-07-28 23:08:32 +00:00
parent 0b4f160af1
commit af874040ca
11541 changed files with 1654104 additions and 1103 deletions
+25
View File
@@ -0,0 +1,25 @@
CC = gcc
CFLAGS = -Wall -Wextra -O2 -fPIC -D_GNU_SOURCE
LDFLAGS = -shared -lpthread -lrt
TARGET = libcrt.so
OBJS = shm.o ringbuf.o cache.o
.PHONY: all clean test
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
%.o: %.c %.h
$(CC) $(CFLAGS) -c $< -o $@
test: test_crt
./test_crt
test_crt: test_crt.c $(TARGET)
$(CC) -o $@ $< -L. -lcrt -Wl,-rpath,.
clean:
rm -f $(OBJS) $(TARGET) test_crt