enhance smartflash makefile a bit

This commit is contained in:
Stefan `Sec` Zehl 2012-01-26 20:07:21 +01:00
parent ad9affa382
commit 8fa0375424
1 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,11 @@
setup:
dwim: build setup
all: dwim run
build:
cd ../../firmware && make clean && make && make l0dables
setup:
cp ../../firmware/firmware.bin .
-mkdir files
cp ../../firmware/l0dable/*c0d files
@ -14,8 +20,9 @@ setup:
@echo
@echo Now run ./smartflash
run:
./smartflash
clean:
rm -f firmware.bin generate-keys
rm -rf files