Move main.cpp to run.cpp

Signed-off-by: Thiago Padilha <thiago@padilha.cc>
This commit is contained in:
Thiago Padilha 2023-03-22 09:05:50 -03:00
parent 69c92298a9
commit 90175ee13f
No known key found for this signature in database
GPG Key ID: 309C78E5ED1B3D5E
3 changed files with 3 additions and 3 deletions

View File

@ -239,7 +239,7 @@ target_link_libraries(llama PRIVATE utils ggml ${LLAMA_EXTRA_LIBS})
# Executables # Executables
# #
add_executable(main main.cpp) add_executable(main run.cpp)
target_link_libraries(main PRIVATE llama ggml utils) target_link_libraries(main PRIVATE llama ggml utils)
add_executable(quantize quantize.cpp) add_executable(quantize quantize.cpp)

View File

@ -229,8 +229,8 @@ utils.o: utils.cpp utils.h
clean: clean:
rm -f *.o main quantize rm -f *.o main quantize
main: main.cpp ggml.o llama.o utils.o main: run.cpp ggml.o llama.o utils.o
$(CXX) $(CXXFLAGS) main.cpp ggml.o llama.o utils.o -o main $(LDFLAGS) $(CXX) $(CXXFLAGS) run.cpp ggml.o llama.o utils.o -o main $(LDFLAGS)
@echo "\x1b[36mrun ./main -h for help\x1b[0m" @echo "\x1b[36mrun ./main -h for help\x1b[0m"
quantize: quantize.cpp ggml.o llama.o utils.o quantize: quantize.cpp ggml.o llama.o utils.o

View File