From 181442ab4256f3c12ef0a62ed44e6e9fd0f58095 Mon Sep 17 00:00:00 2001 From: SanJacobs Date: Mon, 18 Apr 2022 23:15:42 +0200 Subject: Got rid of boost --- makefile | 4 ++-- src/main.cpp | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/makefile b/makefile index e799dc6..82dbbf4 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,6 @@ # INCLUDE is where you find the headerfiles for the libs you're using. They are used during compilation. -INCLUDE=-I /usr/include/boost/ +# Example: -I /usr/include/boost/ +INCLUDE= # LIBDIR is where you can find the linkable objects or whatever. They are used for the linking stage. LIBDIR=-L /usr/lib/x86_64-linux-gnu/ @@ -7,7 +8,6 @@ LIBDIR=-L /usr/lib/x86_64-linux-gnu/ # LIBS are the libs you are using written with a -l and then ignoring the lib-part at the beginning of the file's name. # So "libboost_date_time.a" will be just "-lboost_date_time" LIBS= -#-lboost_date_time # Sources are the source code files. Only the .cpp files, becuase the .h files are included into them during pre-processing. SOURCES=$(wildcard src/*.cpp) diff --git a/src/main.cpp b/src/main.cpp index 071ddfd..91f04dd 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,15 +24,11 @@ along with this program. If not, see https://www.gnu.org/licenses/ #include #include "time.h" -//#include -//#include int main(int argc, char* argv[]) { if(argc > 1){ if(std::string(argv[1])=="test") { - //using boost::posix_time::to_simple_string; - //tm test_moment_one{0, 30, 14, 27, 11, 2010}; moment calltime{30, 8, 27, 11, 2010}; moment wraptime{30, 16, 27, 11, 2010}; timeblock workday{calltime, wraptime}; -- cgit v1.2.1