summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-13 03:29:25 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-13 03:29:25 +0100
commita1a595a3305727d30e16e856f4faf95980643e1c (patch)
tree65f93bddc96280771f9aac7643ecf1653f113be9 /Makefile
parent4c927074b1e8d976f6cb73291fc8d502fc635a03 (diff)
downloadllmnpc-a1a595a3305727d30e16e856f4faf95980643e1c.tar.gz
Simple Vector Database
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7267ff9..94f009d 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,8 @@ LDFLAGS = -L$(LLAMA_DIR)/build/src -L$(LLAMA_DIR)/build/ggml/src \
help: .help
-prompt: prompt.c models.h # Build prompt binary for testing
- $(CC) $(CFLAGS) prompt.c -o prompt $(LDFLAGS)
+prompt: prompt.c vectordb.c models.h # Build prompt binary for testing
+ $(CC) $(CFLAGS) prompt.c vectordb.c -o prompt $(LDFLAGS)
llamacpp: .assure # Build llama.cpp libraries
mkdir $(LLAMA_DIR)/build && \
@@ -27,7 +27,7 @@ fetchmodels: .assure # Fetch GGUF models
docker: .assure # Runs prompt in Docker container
docker build -t promptd .
- docker run -it promptd bash
+ docker run -it promptd
clean: # Cleans up all the build artefacts
-rm -f prompt