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