summaryrefslogtreecommitdiffstatshomepage
path: root/windows
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-08-11 12:22:19 +1000
committerDamien George <damien.p.george@gmail.com>2017-08-11 12:22:19 +1000
commit7d4a2f773cc6ce24a91e2d210378188f3371e8a6 (patch)
treedced255f702c3b3065f519b46d21b26915de92e8 /windows
parentf9dfd8aa3b9030e325f382ebf51ed2627243e238 (diff)
downloadmicropython-7d4a2f773cc6ce24a91e2d210378188f3371e8a6.tar.gz
micropython-7d4a2f773cc6ce24a91e2d210378188f3371e8a6.zip
all: Make use of $(TOP) variable in Makefiles, instead of "..".
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top level of this repository.
Diffstat (limited to 'windows')
-rw-r--r--windows/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/windows/Makefile b/windows/Makefile
index 72c97381bd..a39d348266 100644
--- a/windows/Makefile
+++ b/windows/Makefile
@@ -8,10 +8,10 @@ PROG = micropython.exe
QSTR_DEFS = ../unix/qstrdefsport.h
# include py core make definitions
-include ../py/py.mk
+include $(TOP)/py/py.mk
INC += -I.
-INC += -I..
+INC += -I$(TOP)
INC += -I$(BUILD)
# compiler settings
@@ -62,4 +62,4 @@ SRC_QSTR += $(SRC_C)
# SRC_QSTR
SRC_QSTR_AUTO_DEPS +=
-include ../py/mkrules.mk
+include $(TOP)/py/mkrules.mk