mirror of
https://github.com/antirez/gguf-tools.git
synced 2025-09-17 02:28:07 +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
|