added convenience target 'dist-hex' to makefile
parent
bdcd4484be
commit
f5bd07c45c
|
@ -122,6 +122,10 @@ clean:
|
||||||
@echo --- cleaning ---
|
@echo --- cleaning ---
|
||||||
cd .. ; git clean -dX # remove ignored files and directories
|
cd .. ; git clean -dX # remove ignored files and directories
|
||||||
|
|
||||||
|
# availability: linux
|
||||||
|
dist-hex: clean all
|
||||||
|
mv firmware.hex 'ergodox-firmware--$(shell git branch -l | grep '*' | cut -c 3-)--$(shell date +'%Y%m%d_%H%M%S').hex'
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
|
Loading…
Reference in New Issue