Skip to content

Commit

Permalink
Merge pull request #2 from srl295/fix/1-macosx
Browse files Browse the repository at this point in the history
chore(build): Update mac build
  • Loading branch information
lhrios authored Mar 2, 2024
2 parents ba7d79c + 88673b5 commit 7109355
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile_macosx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
DEP_PKGS = xerces-c libcurl
# To setup:
# 1. Install https://brew.sh
# 2. Run: $ brew install pkg-config xerces-c libcurl
# 3. Run: $ make -f Makefile_macosx
SHELL = bash
CXX = g++
CPPFLAGS = -DUNIX_SYSTEM -I/opt/homebrew/include
CPPFLAGS = -DUNIX_SYSTEM $(shell pkg-config --cflags $(DEP_PKGS))
CFLAGS = -Wall -g1 -O2
LFLAGS = /opt/homebrew/lib/libxerces-c.a -lpthread -lcurl -framework CoreServices
LFLAGS = $(shell pkg-config --libs $(DEP_PKGS)) -lpthread -framework CoreServices

bin_path = bin
dep_path = dep
Expand Down

0 comments on commit 7109355

Please sign in to comment.