From 87ad80edf9e7656143079df8565c0fb0de39ef18 Mon Sep 17 00:00:00 2001 From: stijn Date: Mon, 1 Jun 2015 11:41:28 +0200 Subject: windows: Implement the mp_hal_xxx functions and enable mp-readline --- windows/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'windows/Makefile') diff --git a/windows/Makefile b/windows/Makefile index defbf35cc..e3a2fac42 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -31,10 +31,10 @@ SRC_C = \ unix/main.c \ unix/file.c \ unix/input.c \ - unix/unix_mphal.c \ unix/modos.c \ unix/modtime.c \ unix/gccollect.c \ + windows_mphal.c \ realpath.c \ init.c \ sleep.c \ @@ -43,6 +43,9 @@ OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) ifeq ($(MICROPY_USE_READLINE),1) CFLAGS_MOD += -DMICROPY_USE_READLINE=1 +SRC_C += lib/mp-readline/readline.c +else ifeq ($(MICROPY_USE_READLINE),2) +CFLAGS_MOD += -DMICROPY_USE_READLINE=2 LDFLAGS_MOD += -lreadline # the following is needed for BSD #LDFLAGS_MOD += -ltermcap -- cgit v1.2.3