Skip to content

Commit 094ebef

Browse files
committed
windows: Use most of the source files from unix/ port.
To keep it maintainable, windows port now uses as much as possible from unix port. Maybe could even use mpconfigport.h.
1 parent 73c79b9 commit 094ebef

4 files changed

Lines changed: 3 additions & 273 deletions

File tree

windows/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include ../py/mkenv.mk
44
PROG = micropython.exe
55

66
# qstr definitions (must come before including py.mk)
7-
QSTR_DEFS = qstrdefsport.h
7+
QSTR_DEFS = ../unix/qstrdefsport.h
88

99
# include py core make definitions
1010
include ../py/py.mk
@@ -22,8 +22,8 @@ endif
2222

2323
# source files
2424
SRC_C = \
25-
main.c \
26-
file.c \
25+
unix/main.c \
26+
unix/file.c \
2727

2828
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
2929
LIB = -lreadline

windows/file.c

Lines changed: 0 additions & 2 deletions
This file was deleted.

windows/main.c

Lines changed: 0 additions & 233 deletions
This file was deleted.

windows/qstrdefsport.h

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)