summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-09-07 17:43:45 +0700
committerhathach <[email protected]>2021-09-07 17:43:45 +0700
commit785cdf67f0e03a456fd2dfad7b769b094f7e07ce (patch)
treec3119a684fd0c11ee7e29dec1ac03be088a544d9 /examples
parentf47e5402fa928c5a0cd581c894e9e18c3dfcbdfb (diff)
default PYTHON to python3 on linux, and python on windows
Diffstat (limited to 'examples')
-rw-r--r--examples/make.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 24f8c5572..c894d35f4 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -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 --------------