Fix makefile - add /usr/local/include to CPP_FLAGS (#11)
Improves support for building on the Mac via Homebrew
This commit is contained in:
parent
5a4a37ce9a
commit
753e2fa4be
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue