summaryrefslogtreecommitdiffstatshomepage
path: root/unix-cpy
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-17 17:44:52 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-17 17:44:52 +0100
commit2d1f865d16c5a7e27f5e46c96d087a7ff8a49012 (patch)
treefbdabf6e17daaebabcc6ddb0e726565b52abdc28 /unix-cpy
parenteeffbb694809d6ee1434842bc234eb44714c25ac (diff)
parent70a7d7a94397cbe01fd5457e34f3d3368300f2ac (diff)
downloadmicropython-2d1f865d16c5a7e27f5e46c96d087a7ff8a49012.tar.gz
micropython-2d1f865d16c5a7e27f5e46c96d087a7ff8a49012.zip
Merge branch 'relocatable-build-dir' of github.com:lurch/micropython into lurch-relocatable-build-dir
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