From 90107c504e5b7d1bea2c93a43c7d07b640350355 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 13 Jan 2022 06:57:09 +0000 Subject: [PATCH] Removed now unneeded date library --- Makefile | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c4a87c1..2945672 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,26 @@ OS=$(shell uname) CXX=g++ -CXXFLAGS=-g -Wall --std=c++20 +CXXFLAGS=-std=c++20 -DNOSSL +DEV=1 +TEST=1 + +ifeq ($(DEV),1) + CXXFLAGS += -Wall -g +else + CXXFLAGS += -O3 -flto +endif ifneq ($(OS),Darwin) CXXFLAGS += -static endif -json=json.o +ifeq ($(TEST),1) + CXXFLAGS += -DTEST_EXCHANGE +endif + ws=easywsclient/easywsclient.o -main=${json} ${ws} protocol.o book.o +xml=ftplibpp/ftplib.o +main=${ws} ${xml} json.o bom.o protocol.o book.o default: test click bot -- Gitblit v1.9.3