mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2023-11-04 02:52:44 +03:00
add static library make target
This commit is contained in:
5
Makefile
5
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user