added convenience target 'dist-hex' to makefile

partial-rewrite
Ben Blazak 2012-06-04 00:09:15 -07:00
parent bdcd4484be
commit f5bd07c45c
1 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,10 @@ clean:
@echo --- cleaning ---
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: