add static library make target
This commit is contained in:
parent
7edaa7da4b
commit
64752acd27
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
|
||||||
|
Loading…
Reference in New Issue
Block a user