From e0de42af0b2c51ed9607a477cbdb556f44bac4f7 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 18 Feb 2026 15:14:13 +0100 Subject: Update to VectorDB --- Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0d27bd6..807a256 100644 --- a/Makefile +++ b/Makefile @@ -15,18 +15,21 @@ PROMPT_HEADERS := $(PROMPT_TXT:.txt=.h) help: .help -build/npc: build/prompts npc.c vectordb.c models.h # Build npc binary for testing - $(CC) $(CFLAGS) npc.c vectordb.c -o npc $(LDFLAGS) - -build/context: context.c vectordb.c models.h # Build context binary for testing - $(CC) $(CFLAGS) context.c vectordb.c -o context $(LDFLAGS) - build/llama.cpp: .assure # Build llama.cpp libraries mkdir $(LLAMA_DIR)/build && \ cd $(LLAMA_DIR)/build && \ cmake ../ -DBUILD_SHARED_LIBS=OFF && \ make -j8 +build/context: context.c vectordb.c models.h # Build context binary for testing + $(CC) $(CFLAGS) context.c vectordb.c -o context $(LDFLAGS) + +build/npc: build/prompts npc.c vectordb.c models.h # Build npc binary for testing + $(CC) $(CFLAGS) npc.c vectordb.c -o npc $(LDFLAGS) + +build/game: build/prompts game.c vectordb.c models.h # Build npc binary for testing + $(CC) $(CFLAGS) game.c vectordb.c -o game $(LDFLAGS) + build/prompts: $(PROMPT_HEADERS) # Generate C style header run/fetch-models: .assure # Fetch GGUF models -- cgit v1.2.3