From ae7d00edf2f02912ec9c04919ea7535c93d2d1e0 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Wed, 12 Jan 2022 04:54:19 +0000
Subject: [PATCH] Intermediate ftp, no libcurl on mac

---
 Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 94e9115..3089278 100644
--- a/Makefile
+++ b/Makefile
@@ -12,15 +12,17 @@
 
 ifneq ($(OS),Darwin)
 CXXFLAGS += -static
+else
+CXXFLAGS += -I/usr/local/opt/curl/include
+LDFLAGS += -L/usr/local/opt/curl/lib
 endif
 
 ifeq ($(TEST),1)
 	CXXFLAGS += -DTEST_EXCHANGE
 endif
 
-json=json.o
 ws=easywsclient/easywsclient.o
-main=${json} ${ws} protocol.o book.o
+main=${ws} json.o bom.o protocol.o book.o
 
 default: test click bot
 

--
Gitblit v1.9.3