19 lines
248 B
Makefile
19 lines
248 B
Makefile
|
default: ollama
|
||
|
|
||
|
.PHONY: llama
|
||
|
llama:
|
||
|
cmake -S llama -B llama/build -DLLAMA_METAL=on
|
||
|
cmake --build llama/build
|
||
|
|
||
|
.PHONY: ollama
|
||
|
ollama: llama
|
||
|
go build .
|
||
|
|
||
|
.PHONY: app
|
||
|
app: ollama
|
||
|
npm run --prefix app package
|
||
|
|
||
|
clean:
|
||
|
go clean
|
||
|
rm -rf llama/build
|