12 lines
293 B
Makefile
12 lines
293 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -g -I./thirdparty/llama.cpp/include -I./thirdparty/llama.cpp/ggml/include
|
|
TARGET = stream_app
|
|
SRC = main.c
|
|
LIBS = -L./thirdparty/llama.cpp/build/bin -lllama -lggml -lggml-base
|
|
|
|
$(TARGET): $(SRC)
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|