You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
504 B

VERSION:= v0.1.0
all: clean generator trust
trust:
if [[ ! -f generator-$(VERSION) ]]; then \
make -B generator || exit 1; \
fi
ln -sf generator-$(VERSION) generator
generator:
cd generator-native && cargo build --release
ln -sf generator-native/target/release/generator-native generator
cp -f `readlink generator` ./generator-$(VERSION)
gpg --sign ./generator-$(VERSION)
clean:
rm -f generator-v*
sfexec-output:
g++ -Iinclude/ -w --std=c++17 main.cpp sha256_literal/sha256.cpp -o sfexec