summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index c9509b9f0d..1a29363c91 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -10,8 +10,12 @@ QSTR_DEFS = qstrdefsport.h
# include py core make definitions
include ../py/py.mk
+INC = -I.
+INC += -I$(PY_SRC)
+INC += -I$(BUILD)/includes
+
# compiler settings
-CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
+CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)