From 95a4e15baa7b95e62f318c040049e0ccee05a4c9 Mon Sep 17 00:00:00 2001 From: Chris Bednarczyk Date: Sun, 30 Jul 2023 19:53:58 +0200 Subject: [PATCH] Add support to Makefile for Darwin/MacOS platform --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ad7ae26..932c3ef 100644 --- a/Makefile +++ b/Makefile @@ -140,8 +140,7 @@ endif ifeq ($(shell uname -s),Darwin) CXXFLAGS += -I$(shell brew --prefix)/include - LDFLAGS += -L$(shell brew --prefix)/lib - USBLIB = -lusb-1.0 + LDFLAGS += -L$(shell brew --prefix)/libm endif $(BUILD)/%.o: src/%.cc $(wildcard src/%.h)