Merge pull request #34 from tazz4843/master

Add static library make target
This commit is contained in:
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

View File

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