diff --git a/Makefile b/Makefile index 5a79124..8c448d3 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ DEBUG = -g3 CXXFLAGS += $(DEBUG) # Sources -SRC = main.cpp +SRC = sources/core/main.cpp INC_DIR = include/core diff --git a/flake.nix b/flake.nix index b2bb879..459e59b 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,7 @@ clang clang-tools irssi + tmux ] ++ ( if pkgs.stdenv.isLinux then [ valgrind diff --git a/main.cpp b/main.cpp deleted file mode 100644 index 79690cb..0000000 --- a/main.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include "core.hpp" - -int main(int argc, char *argv[]) { - if (argc != 3) { - std::cerr << CLR_RED << "Usage: " << argv[0] << " " << CLR_RESET << std::endl; - return 1; - } - if (DEBUG) { - std::cout << CLR_GREY << "Port:\t\t" << CLR_GREEN << argv[1] << CLR_RESET << std::endl; - std::cout << CLR_GREY << "Password:\t" << CLR_GREEN << argv[2] << CLR_RESET << std::endl; - } - while (1) - ; - return 0; -}