blob: a2b96537e0c583ac89a5eab4136914e061ec05e2 [file] [log] [blame]
TARGET=g401201
UV4=/C/Keil/UV4/Uv4.exe
SALT_KEY=.sign_salt
SIGN_201=./g401302/outFlow/G401302_flow.bin
SIGN201_FILE=./g401302/outFlow/G401302.sign
.PHONY: clean all
timer: clean
@echo "build std version ..."
$(UV4) -cr -j0 -b g401302/project/g401302.uvproj -t"timer" -o"outTimer/OUTPUTFILE.TXT"
flow: clean
@echo "build shu version ..."
$(UV4) -cr -j0 -b g401302/project/g401302.uvproj -t"flow" -o"outFlow/OUTPUTFILE.TXT"
sign:
@echo "calc upgrade file sign ..."
cat $(SIGN_201) $(SALT_KEY) | sha256sum - | cut -d' ' -f 1 | tr -d '\n' > $(SIGN201_FILE)
all: timer flow
clean: