add static library make target

This commit is contained in:
0/0 2022-10-09 19:16:42 -06:00
parent 7edaa7da4b
commit 64752acd27
No known key found for this signature in database
GPG Key ID: DE8D5010C0AAA3DC

View File

@ -60,8 +60,11 @@ ggml.o: ggml.c ggml.h
whisper.o: whisper.cpp whisper.h
$(CXX) $(CXXFLAGS) -c whisper.cpp
libwhisper.a: ggml.o whisper.o
ar rcs libwhisper.a ggml.o whisper.o
clean:
rm -f *.o main
rm -f *.o main libwhisper.a
#
# Examples