crashtest-r0ket/tools/smartflash/Makefile

29 lines
599 B
Makefile
Raw Normal View History

2012-01-26 19:07:21 +00:00
dwim: build setup
all: dwim run
build:
2011-12-25 17:52:19 +00:00
cd ../../firmware && make clean && make && make l0dables
2012-01-26 19:07:21 +00:00
setup:
2011-12-25 17:52:19 +00:00
cp ../../firmware/firmware.bin .
2011-12-29 03:10:56 +00:00
-mkdir files
cp ../../firmware/l0dable/*c0d files
2011-12-25 17:52:19 +00:00
cp ../../firmware/l0dable/*nik files
cp ../../firmware/l0dable/*int files
cp ../../firmware/l0dable/files/* files
2011-12-25 18:31:18 +00:00
cp ../font/binary/*f0n files
cp ../image/lcd/*lcd files
cp ../image/lcd/i42.lcd files/nick.lcd
2011-12-25 17:52:19 +00:00
cd ../crypto && make clean && make generate-keys
cp ../crypto/generate-keys .
@echo
@echo Now run ./smartflash
2012-01-26 19:07:21 +00:00
run:
./smartflash
2011-12-25 17:52:19 +00:00
clean:
rm -f firmware.bin generate-keys
2011-12-29 03:10:56 +00:00
rm -rf files