Spaces:
Running
Running
0/0
commited on
add static library make target
Browse files
Makefile
CHANGED
|
@@ -60,8 +60,11 @@ ggml.o: ggml.c ggml.h
|
|
| 60 |
whisper.o: whisper.cpp whisper.h
|
| 61 |
$(CXX) $(CXXFLAGS) -c whisper.cpp
|
| 62 |
|
|
|
|
|
|
|
|
|
|
| 63 |
clean:
|
| 64 |
-
rm -f *.o main
|
| 65 |
|
| 66 |
#
|
| 67 |
# Examples
|
|
|
|
| 60 |
whisper.o: whisper.cpp whisper.h
|
| 61 |
$(CXX) $(CXXFLAGS) -c whisper.cpp
|
| 62 |
|
| 63 |
+
libwhisper.a: ggml.o whisper.o
|
| 64 |
+
ar rcs libwhisper.a ggml.o whisper.o
|
| 65 |
+
|
| 66 |
clean:
|
| 67 |
+
rm -f *.o main libwhisper.a
|
| 68 |
|
| 69 |
#
|
| 70 |
# Examples
|