crashtest-r0ket/tools/smartflash/Makefile

22 lines
539 B
Makefile

setup:
cd ../../firmware && make clean && make && make l0dables
cp ../../firmware/firmware.bin .
-mkdir files
cp ../../firmware/l0dable/*c0d files
cp ../../firmware/l0dable/*nik files
cp ../../firmware/l0dable/*int files
cp ../../firmware/l0dable/files/* files
cp ../font/binary/*f0n files
cp ../image/lcd/*lcd files
cp ../image/lcd/i42.lcd files/nick.lcd
cd ../crypto && make clean && make generate-keys
cp ../crypto/generate-keys .
@echo
@echo Now run ./smartflash
clean:
rm -f firmware.bin generate-keys
rm -rf files