From 90175ee13ffeeca501a5623d2ff1d064ac568b45 Mon Sep 17 00:00:00 2001 From: Thiago Padilha Date: Wed, 22 Mar 2023 09:05:50 -0300 Subject: [PATCH] Move main.cpp to run.cpp Signed-off-by: Thiago Padilha --- CMakeLists.txt | 2 +- Makefile | 4 ++-- main.cpp => run.cpp | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename main.cpp => run.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index d952afb4f..92b45615a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,7 +239,7 @@ target_link_libraries(llama PRIVATE utils ggml ${LLAMA_EXTRA_LIBS}) # Executables # -add_executable(main main.cpp) +add_executable(main run.cpp) target_link_libraries(main PRIVATE llama ggml utils) add_executable(quantize quantize.cpp) diff --git a/Makefile b/Makefile index edb0c64c8..a8f09db7a 100644 --- a/Makefile +++ b/Makefile @@ -229,8 +229,8 @@ utils.o: utils.cpp utils.h clean: rm -f *.o main quantize -main: main.cpp ggml.o llama.o utils.o - $(CXX) $(CXXFLAGS) main.cpp ggml.o llama.o utils.o -o main $(LDFLAGS) +main: run.cpp ggml.o llama.o utils.o + $(CXX) $(CXXFLAGS) run.cpp ggml.o llama.o utils.o -o main $(LDFLAGS) @echo "\x1b[36mrun ./main -h for help\x1b[0m" quantize: quantize.cpp ggml.o llama.o utils.o diff --git a/main.cpp b/run.cpp similarity index 100% rename from main.cpp rename to run.cpp