0/0 commited on
Commit
f01bd75
·
unverified ·
1 Parent(s): 3877702

add static library make target

Browse files
Files changed (1) hide show
  1. Makefile +4 -1
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