File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ clean:
402
402
403
403
CC_SDL =` sdl2-config --cflags --libs `
404
404
405
- SRC_COMMON = examples/common.cpp examples/common-ggml.cpp
405
+ SRC_COMMON = examples/common.cpp examples/common-ggml.cpp examples/grammar-parser.cpp
406
406
SRC_COMMON_SDL = examples/common-sdl.cpp
407
407
408
408
main : examples/main/main.cpp $(SRC_COMMON ) $(WHISPER_OBJ )
@@ -421,8 +421,8 @@ server: examples/server/server.cpp $(SRC_COMMON) $(WHISPER_OBJ)
421
421
stream : examples/stream/stream.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ )
422
422
$(CXX ) $(CXXFLAGS ) examples/stream/stream.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ ) -o stream $(CC_SDL ) $(LDFLAGS )
423
423
424
- command : examples/command/command.cpp examples/grammar-parser.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ )
425
- $(CXX ) $(CXXFLAGS ) examples/command/command.cpp examples/grammar-parser.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ ) -o command $(CC_SDL ) $(LDFLAGS )
424
+ command : examples/command/command.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ )
425
+ $(CXX ) $(CXXFLAGS ) examples/command/command.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ ) -o command $(CC_SDL ) $(LDFLAGS )
426
426
427
427
lsp : examples/lsp/lsp.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ )
428
428
$(CXX ) $(CXXFLAGS ) examples/lsp/lsp.cpp $(SRC_COMMON ) $(SRC_COMMON_SDL ) $(WHISPER_OBJ ) -o lsp $(CC_SDL ) $(LDFLAGS )
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ add_library(${TARGET} STATIC
27
27
common.cpp
28
28
common-ggml.h
29
29
common-ggml.cpp
30
+ grammar-parser.h
30
31
grammar-parser.cpp
31
32
)
32
33
You can’t perform that action at this time.
0 commit comments