aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanJacobs2022-04-18 23:15:42 +0200
committerSanJacobs2022-04-18 23:15:42 +0200
commit181442ab4256f3c12ef0a62ed44e6e9fd0f58095 (patch)
tree6feaeaf83c5b02d7f775cb18e2fbad5cb1dd734e
parenta9c4042d52f767339398b18d2fb32a8fa117d5ae (diff)
downloadsatscalc-181442ab4256f3c12ef0a62ed44e6e9fd0f58095.tar.gz
satscalc-181442ab4256f3c12ef0a62ed44e6e9fd0f58095.tar.bz2
satscalc-181442ab4256f3c12ef0a62ed44e6e9fd0f58095.zip
Got rid of boost
-rw-r--r--makefile4
-rwxr-xr-xsrc/main.cpp4
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 <iostream>
#include "time.h"
-//#include <boost/date_time/time_duration.hpp>
-//#include <boost/date_time/posix_time/posix_time.hpp>
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};