summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorkkitayam <[email protected]>2021-01-10 20:46:29 +0900
committerkkitayam <[email protected]>2021-01-11 15:56:16 +0900
commit8fa083d79e1325c19f2bc0af894fdf7f8ab5e84c (patch)
tree15f1fb9980fbc9c7706673e850438c77ca249214 /examples/make.mk
parent05728e2b189b228a7b51f359dc207f54b85811ef (diff)
added support for cmd.exe as a shell on make.
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 6743044fd..ee4ed640e 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -34,9 +34,14 @@ CXX = $(CROSS_COMPILE)g++
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
MKDIR = mkdir
+ifeq ($(UNAME),Windows)
+CP = copy
+RM = del
+else
SED = sed
CP = cp
RM = rm
+endif
#-------------- Source files and compiler flags --------------