Merge pull request #34 from tazz4843/master

Add static library make target
pull/41/head
Georgi Gerganov 2022-10-10 08:05:57 +03:00 committed by GitHub
commit 6e29d8453c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

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