default PYTHON to python3 on linux, and python on windows

This commit is contained in:
hathach 2021-09-07 17:43:45 +07:00
parent f47e5402fa
commit 785cdf67f0
1 changed files with 2 additions and 1 deletions

View File

@ -61,15 +61,16 @@ GDB = $(CROSS_COMPILE)gdb
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
MKDIR = mkdir
PYTHON = python
ifeq ($(CMDEXE),1)
CP = copy
RM = del
PYTHON = python
else
SED = sed
CP = cp
RM = rm
PYTHON = python3
endif
#-------------- Source files and compiler flags --------------