enhance smartflash makefile a bit
This commit is contained in:
parent
ad9affa382
commit
8fa0375424
|
@ -1,5 +1,11 @@
|
||||||
setup:
|
dwim: build setup
|
||||||
|
|
||||||
|
all: dwim run
|
||||||
|
|
||||||
|
build:
|
||||||
cd ../../firmware && make clean && make && make l0dables
|
cd ../../firmware && make clean && make && make l0dables
|
||||||
|
|
||||||
|
setup:
|
||||||
cp ../../firmware/firmware.bin .
|
cp ../../firmware/firmware.bin .
|
||||||
-mkdir files
|
-mkdir files
|
||||||
cp ../../firmware/l0dable/*c0d files
|
cp ../../firmware/l0dable/*c0d files
|
||||||
|
@ -14,8 +20,9 @@ setup:
|
||||||
@echo
|
@echo
|
||||||
@echo Now run ./smartflash
|
@echo Now run ./smartflash
|
||||||
|
|
||||||
|
run:
|
||||||
|
./smartflash
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f firmware.bin generate-keys
|
rm -f firmware.bin generate-keys
|
||||||
rm -rf files
|
rm -rf files
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue