Fix makefile - add /usr/local/include to CPP_FLAGS (#11)

Improves support for building on the Mac via Homebrew
This commit is contained in:
Chris Coutinho 2020-02-11 07:07:03 +01:00 committed by GitHub
parent 5a4a37ce9a
commit 753e2fa4be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ OBJS := $(patsubst %.cpp,%.o,$(cpp_files))
# C flags # C flags
PG_CPPFLAGS := -fPIC -std=c++14 PG_CPPFLAGS := -fPIC -std=c++14
PG_CPPFLAGS += -Isrc/ -I/usr/include PG_CPPFLAGS += -Isrc/ -I/usr/include -I/usr/local/include
PG_CPPFLAGS += -Wall -Wextra PG_CPPFLAGS += -Wall -Wextra
ifeq ($(CONFIG),debug) ifeq ($(CONFIG),debug)
PG_CPPFLAGS += -g -Og PG_CPPFLAGS += -g -Og