Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions contrib/llama.mak
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def = \
-DGGML_COMMIT='"$(ggml_commit)"' \
-DGGML_USE_CPU \
-DGGML_VERSION='"$(ggml_version)"' \
-DLLAMA_BUILD_WEBUI \
-DLLAMA_USE_HTTPLIB
inc = \
-I. \
Expand Down Expand Up @@ -125,7 +126,8 @@ llama.dll.a: llama.def

clean:
rm -f $(dll) $(exe) llama.def llama.dll llama.dll.a llama-server.exe \
tools/server/index.html.gz.hpp tools/server/loading.html.hpp \
tools/server/index.html.hpp tools/server/bundle.js.hpp \
tools/server/bundle.css.hpp tools/server/loading.html.hpp \
w64dk-build-info.cpp w64dk-license.c $(vk_shaders_gen)
rm -rf $(vk_build_dir)

Expand Down Expand Up @@ -156,13 +158,19 @@ w64dk-license.c: $(licenses)
};
EOF

tools/server/index.html.gz.hpp: tools/server/public/index.html.gz
cd tools/server/public/ && xxd -i index.html.gz >../index.html.gz.hpp
tools/server/index.html.hpp: tools/server/public/index.html
cd tools/server/public/ && xxd -i index.html >../index.html.hpp
tools/server/bundle.js.hpp: tools/server/public/bundle.js
cd tools/server/public/ && xxd -i bundle.js >../bundle.js.hpp
tools/server/bundle.css.hpp: tools/server/public/bundle.css
cd tools/server/public/ && xxd -i bundle.css >../bundle.css.hpp
tools/server/loading.html.hpp: tools/server/public/loading.html
cd tools/server/public/ && xxd -i loading.html >../loading.html.hpp
tools/server/server-http.cpp.o: \
tools/server/server.cpp \
tools/server/index.html.gz.hpp \
tools/server/index.html.hpp \
tools/server/bundle.js.hpp \
tools/server/bundle.css.hpp \
tools/server/loading.html.hpp

llama.def: $(dll)
Expand Down