#!/bin/bash
mv -n *.dat *.inc *.h Inc/
[ -f ./build ] && rm ./build [ -f src/encrypt.c ] && sed -i src/encrypt.c -e "s/\(\s\)init(/\1_init(/g"
cp -r /home/sr/PhD/research/lwc/compare/templates/f7/Drivers Drivers/
make EXIT_CODE=$? mv build/f7.bin . mv build/f7.hex . mv build/f7.elf .
exit $EXIT_CODE