From 5faf8d87f22bf698cbad008640406b2f371bcf4b Mon Sep 17 00:00:00 2001 From: Sean Date: Mon, 3 Jul 2023 16:06:50 -0700 Subject: [PATCH] fixed argp link for mac --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 03f0597..0af23e4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,7 +6,8 @@ CXXFLAGS = -g -Wall -std=c++11 UNAME := $(shell uname) ifeq ($(UNAME), Darwin) - LDFLAGS = -largp + CXXFLAGS += -I/opt/homebrew/Cellar/argp-standalone/1.3/include + LDFLAGS = -L/opt/homebrew/Cellar/argp-standalone/1.3/lib -largp endif all: ../regs ../2mg ../dsk