aboutsummaryrefslogtreecommitdiff
path: root/mpy-cross/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mpy-cross/Makefile')
-rw-r--r--mpy-cross/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile
index 53ce50c7f..0f39a6393 100644
--- a/mpy-cross/Makefile
+++ b/mpy-cross/Makefile
@@ -25,9 +25,9 @@ UNAME_S := $(shell uname -s)
# include py core make definitions
include $(TOP)/py/py.mk
-INC += -I.
-INC += -I$(TOP)
+INC += -I.
INC += -I$(BUILD)
+INC += -I$(TOP)
# compiler settings
CWARN = -Wall -Werror
@@ -68,7 +68,7 @@ ifneq (,$(findstring mingw,$(COMPILER_TARGET)))
SRC_C += ports/windows/fmode.c
endif
-OBJ = $(PY_O)
+OBJ = $(PY_CORE_O)
OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
include $(TOP)/py/mkrules.mk