mirror of
https://github.com/antirez/gguf-tools.git
synced 2025-12-16 00:18:52 +08:00
12 lines
274 B
Makefile
12 lines
274 B
Makefile
all: emb2redis
|
|
|
|
hiredis/libhiredis.a:
|
|
@echo "Please, enter the hiredis directory and build it."
|
|
@exit 1
|
|
|
|
emb2redis: emb2redis.c hiredis/libhiredis.a
|
|
$(CC) emb2redis.c ../gguflib.c ../sds.c ../fp16.c hiredis/libhiredis.a -o emb2redis -O2 -Wall -W
|
|
|
|
clean:
|
|
rm -f emb2redis
|