file db saving (not complete)

This commit is contained in:
2025-10-30 17:51:26 +02:00
parent 76dff7dafb
commit 7c4c9e6694
10 changed files with 310 additions and 155 deletions
+5
View File
@@ -7,12 +7,17 @@ BIN_DIR := bin
SRCS := $(wildcard $(SRC_DIR)/*.c)
OBJS := $(SRCS:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
OBJS += murmur3.o
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(SRC_DIR)/%.h
$(CC) $(CFLAGS) -c $< -o $@
bbs-server: $(OBJS)
$(CC) $(CFLAGS) $^ -o $(BIN_DIR)/$@
murmur3.o: $(SRC_DIR)/libs/murmur3/murmur3.c $(SRC_DIR)/libs/murmur3/murmur3.h
$(CC) $(CFLAGS) -c $< -o $@
ifneq (clean, $(MAKECMDGOALS))
-include deps.mk
endif