11#  Define the default target now so that it is always the first target
22BUILD_TARGETS  = \ 
33	libllava.a \ 
4- 	llama-baby-llama \ 
54	llama-batched \ 
65	llama-batched-bench \ 
76	llama-bench \ 
@@ -916,6 +915,7 @@ endif # GGML_METAL
916915
917916OBJ_GGML  += \ 
918917	ggml/src/ggml.o \ 
918+ 	ggml/src/ggml-cpu.o \ 
919919	ggml/src/ggml-alloc.o \ 
920920	ggml/src/ggml-backend.o \ 
921921	ggml/src/ggml-quants.o \ 
@@ -936,7 +936,6 @@ OBJ_COMMON = \
936936	common/console.o \ 
937937	common/ngram-cache.o \ 
938938	common/sampling.o \ 
939- 	common/train.o \ 
940939	common/build-info.o \ 
941940	common/json-schema-to-grammar.o
942941
@@ -1048,6 +1047,12 @@ ggml/src/ggml.o: \
10481047	ggml/include/ggml.h
10491048	$(CC )   $(CFLAGS )    -c $<  -o $@ 
10501049
1050+ ggml/src/ggml-cpu.o : \ 
1051+ 	ggml/src/ggml-cpu.c \ 
1052+ 	ggml/include/ggml.h \ 
1053+ 	ggml/src/ggml-common.h
1054+ 	$(CC )   $(CFLAGS )    -c $<  -o $@ 
1055+ 
10511056ggml/src/ggml-alloc.o : \ 
10521057	ggml/src/ggml-alloc.c \ 
10531058	ggml/include/ggml.h \ 
@@ -1213,11 +1218,6 @@ common/json-schema-to-grammar.o: \
12131218	common/json-schema-to-grammar.h
12141219	$(CXX )  $(CXXFLAGS )  -c $<  -o $@ 
12151220
1216- common/train.o : \ 
1217- 	common/train.cpp \ 
1218- 	common/train.h
1219- 	$(CXX )  $(CXXFLAGS )  -c $<  -o $@ 
1220- 
12211221common/ngram-cache.o : \ 
12221222	common/ngram-cache.cpp \ 
12231223	common/ngram-cache.h
@@ -1390,11 +1390,6 @@ llama-bench: examples/llama-bench/llama-bench.cpp \
13901390	$(CXX )  $(CXXFLAGS )  -c $<  -o $(call  GET_OBJ_FILE, $< ) 
13911391	$(CXX )  $(CXXFLAGS )  $(filter-out  % .h $< ,$^ )  $(call  GET_OBJ_FILE, $< )  -o $@  $(LDFLAGS ) 
13921392
1393- llama-baby-llama : examples/baby-llama/baby-llama.cpp \ 
1394- 	$(OBJ_ALL ) 
1395- 	$(CXX )  $(CXXFLAGS )  -c $<  -o $(call  GET_OBJ_FILE, $< ) 
1396- 	$(CXX )  $(CXXFLAGS )  $(filter-out  % .h $< ,$^ )  $(call  GET_OBJ_FILE, $< )  -o $@  $(LDFLAGS ) 
1397- 
13981393llama-export-lora : examples/export-lora/export-lora.cpp \ 
13991394	$(OBJ_ALL ) 
14001395	$(CXX )  $(CXXFLAGS )  -c $<  -o $(call  GET_OBJ_FILE, $< ) 
0 commit comments