projects
/
pub
/
USBaspLoader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve build process by adding new features to Makefiles
[pub/USBaspLoader.git]
/
updater
/
Makefile
diff --git
a/updater/Makefile
b/updater/Makefile
index
066c95c
..
7764cad
100644
(file)
--- a/
updater/Makefile
+++ b/
updater/Makefile
@@
-36,6
+36,13
@@
endif
all: updater.hex
all: updater.hex
+flash: all
+ $(ECHO) "."
+ $(AVRDUDE) -D -U flash:w:updater.hex:i
+ $(ECHO) "."
+ $(ECHO) "."
+
+
../firmware/main.bin:
$(MAKE) -C ../firmware main.hex
../firmware/main.bin:
$(MAKE) -C ../firmware main.hex
@@
-60,9
+67,6
@@
updater.hex: updater.elf
$(ECHO) "."
$(SIZ) updater.elf
$(ECHO) "."
$(ECHO) "."
$(SIZ) updater.elf
$(ECHO) "."
- $(AVRDUDE) -D -U flash:w:updater.hex:i
- $(ECHO) "."
-
deepclean: clean
$(RM) *~
deepclean: clean
$(RM) *~