From 64752acd27f6b318a55544222ea557e6b0eb7587 Mon Sep 17 00:00:00 2001 From: 0/0 Date: Sun, 9 Oct 2022 19:16:42 -0600 Subject: [PATCH] add static library make target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb943a7..35766e5 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,11 @@ ggml.o: ggml.c ggml.h whisper.o: whisper.cpp whisper.h $(CXX) $(CXXFLAGS) -c whisper.cpp +libwhisper.a: ggml.o whisper.o + ar rcs libwhisper.a ggml.o whisper.o + clean: - rm -f *.o main + rm -f *.o main libwhisper.a # # Examples