From: 0/0 Date: Mon, 10 Oct 2022 01:16:42 +0000 (-0600) Subject: add static library make target X-Git-Tag: upstream/1.7.4~1970^2 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=64752acd27f6b318a55544222ea557e6b0eb7587;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp add static library make target --- diff --git a/Makefile b/Makefile index cb943a71..35766e52 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