fixed argp link for mac

This commit is contained in:
Sean 2023-07-03 16:06:50 -07:00
parent 2c27862180
commit 5faf8d87f2
1 changed files with 2 additions and 1 deletions

View File

@ -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