HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove the ARC epsilon define
[clinton/Smoothieware.git]
/
src
/
makefile
diff --git
a/src/makefile
b/src/makefile
index
51d1671
..
8858644
100644
(file)
--- a/
src/makefile
+++ b/
src/makefile
@@
-108,12
+108,17
@@
include $(BUILD_DIR)/build.mk
CONSOLE?=/dev/arduino
BAUD?=9600
CONSOLE?=/dev/arduino
BAUD?=9600
-.PHONY: debug-store flash upload debug console dfu
+ifneq "$(OS)" "Windows_NT"
+COPY=cp
+else
+COPY=copy
+endif
+.PHONY: debug-store flash upload debug console dfu
print-% : ; @echo $* = $($*)
debug-store: ../LPC1768/$(PROJECT).elf
print-% : ; @echo $* = $($*)
debug-store: ../LPC1768/$(PROJECT).elf
- c
p ../LPC1768/$(PROJECT).elf ../LPC1768/
$(PROJECT)_lastupload.elf
+ c
d .. && cd LPC1768 && $(COPY) $(PROJECT).elf
$(PROJECT)_lastupload.elf
flash: ../LPC1768/$(PROJECT).hex debug-store
lpc21isp $< $(CONSOLE) 115200 12000
flash: ../LPC1768/$(PROJECT).hex debug-store
lpc21isp $< $(CONSOLE) 115200 12000