aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0fd7c0..a0b5e0e 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,12 @@ upload: target
monitor:
cu -l $(SERIAL) -s $(BAUD) --parity=none -h
+cycle:
+ @make clean && \
+ make > /dev/null && \
+ read -p "Press enter to proceed with upload..." nothing && \
+ make upload
+
clean:
@rm -f *.o
@for module in $(MODULES); do \
@@ -122,4 +128,4 @@ $(GDBINITFILE): $(TARGET).elf
@echo "Use 'avr-gdb -x $(GDBINITFILE)'"
-.PHONY: clean arduino
+.PHONY: clean cycle