summaryrefslogtreecommitdiffstatshomepage
path: root/unix-cpy
diff options
context:
space:
mode:
Diffstat (limited to 'unix-cpy')
-rw-r--r--unix-cpy/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile
index 985ef15854..8db8c2069a 100644
--- a/unix-cpy/Makefile
+++ b/unix-cpy/Makefile
@@ -6,8 +6,12 @@ PROG = cpy
# 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 = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX
LDFLAGS = -lm
# Debugging/Optimization