From 89e60cbfa3dc2a13a953c1b2188573e86f99ded0 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Mon, 25 Mar 2024 16:30:55 -0400 Subject: [PATCH] make : fix unicodedata.o build --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bb604f37b..bca7e7fe8 100644 --- a/Makefile +++ b/Makefile @@ -663,10 +663,13 @@ ggml-backend.o: ggml-backend.c ggml.h ggml-backend.h ggml-quants.o: ggml-quants.c ggml.h ggml-quants.h ggml-common.h $(CC) $(CFLAGS) -c $< -o $@ -unicode.o: unicode.cpp unicodedata.cpp unicode.h unicodedata.h +unicode.o: unicode.cpp unicode.h $(CXX) $(CXXFLAGS) -c $< -o $@ -OBJS += ggml-alloc.o ggml-backend.o ggml-quants.o unicode.o +unicodedata.o: unicodedata.cpp unicodedata.h + $(CXX) $(CXXFLAGS) -c $< -o $@ + +OBJS += ggml-alloc.o ggml-backend.o ggml-quants.o unicode.o unicodedata.o llama.o: llama.cpp unicode.h ggml.h ggml-alloc.h ggml-backend.h ggml-cuda.h ggml-metal.h llama.h $(CXX) $(CXXFLAGS) -c $< -o $@