From 441abf1e6a15a39f1ef7bf5e4ee2a4a43bff327b Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 20 Jan 2022 05:18:00 +0000 Subject: [PATCH] Added names and ready notice --- Makefile | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bcc17bc..2945672 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,26 @@ +OS=$(shell uname) CXX=g++ -CXXFLAGS=-g -Wall -static -#LDFLAGS=-rpath=/lib64/libstdc++.so.6 +CXXFLAGS=-std=c++20 -DNOSSL +DEV=1 +TEST=1 +ifeq ($(DEV),1) + CXXFLAGS += -Wall -g +else + CXXFLAGS += -O3 -flto +endif -json=json.o +ifneq ($(OS),Darwin) +CXXFLAGS += -static +endif + +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