From 92d6ada4ad3c321e12355a9f7b36277b17c76f8f Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Sun, 14 May 2017 17:26:58 +0800 Subject: [PATCH] Move Files to ConsoleUI/ , add Makefile --- CUI.cpp => ConsoleUI/CUI.cpp | 0 CUI.h => ConsoleUI/CUI.h | 0 ColorUI.cpp => ConsoleUI/ColorUI.cpp | 0 ColorUI.h => ConsoleUI/ColorUI.h | 0 makefile | 10 ++++++++++ 5 files changed, 10 insertions(+) rename CUI.cpp => ConsoleUI/CUI.cpp (100%) rename CUI.h => ConsoleUI/CUI.h (100%) rename ColorUI.cpp => ConsoleUI/ColorUI.cpp (100%) rename ColorUI.h => ConsoleUI/ColorUI.h (100%) create mode 100644 makefile diff --git a/CUI.cpp b/ConsoleUI/CUI.cpp similarity index 100% rename from CUI.cpp rename to ConsoleUI/CUI.cpp diff --git a/CUI.h b/ConsoleUI/CUI.h similarity index 100% rename from CUI.h rename to ConsoleUI/CUI.h diff --git a/ColorUI.cpp b/ConsoleUI/ColorUI.cpp similarity index 100% rename from ColorUI.cpp rename to ConsoleUI/ColorUI.cpp diff --git a/ColorUI.h b/ConsoleUI/ColorUI.h similarity index 100% rename from ColorUI.h rename to ConsoleUI/ColorUI.h diff --git a/makefile b/makefile new file mode 100644 index 0000000..9a82c60 --- /dev/null +++ b/makefile @@ -0,0 +1,10 @@ +CXXFLAGS = -std=c++14 -Wall -O2 + +lib: + $(CXX) $(CXXFLAGS) CUI.cpp -o CUI.o + $(CXX) $(CXXFLAGS) ColorUI.cpp -o ColorUI.o +test: + $(CXX) $(CXXFLAGS) example.cpp -o test.exe + test.exe +clean: + rm -f CUI.o ColorUI.o test.exe \ No newline at end of file