diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-02-18 15:14:13 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-02-18 15:14:13 +0100 |
| commit | e0de42af0b2c51ed9607a477cbdb556f44bac4f7 (patch) | |
| tree | bc1832b01354a96d13dd3f8b46d60f904e28889a /Makefile | |
| parent | 3145e2d2f565c5da599dd50e9c70b9e9ff3d5965 (diff) | |
| download | llmnpc-e0de42af0b2c51ed9607a477cbdb556f44bac4f7.tar.gz | |
Update to VectorDB
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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 |
