# CLEAN make distclean || echo clean rm -f config.status # DEPS # cd deps-win64 # ./build_win_x64_deps.sh # cd .. # BUILD autoreconf -fi -I./deps-win64/x86_64-w64-mingw32/share/aclocal ./autogen.sh ./configure --host=x86_64-w64-mingw32 LDFLAGS="-L./deps-win64/x86_64-w64-mingw32/lib -static" CFLAGS="-Wall -O2 -fomit-frame-pointer -I./deps-win64/x86_64-w64-mingw32/include -std=c99 -DWIN32 -DCURL_STATICLIB -DPTW32_STATIC_LIB" --with-libcurl=deps-win64/x86_64-w64-mingw32 make strip -p --strip-debug --strip-unneeded nolambocoin-miner.exe # PACKAGE RELEASE=nolambocoin-miner-w64 rm -rf $RELEASE mkdir $RELEASE cp ./mining-script/bat/*.bat $RELEASE/ mv nolambocoin-miner.exe $RELEASE/ # SIGN zip -X $RELEASE/$RELEASE.zip $RELEASE/* sha256sum $RELEASE/$RELEASE.zip > $RELEASE/$RELEASE gpg --digest-algo sha256 --clearsign $RELEASE/$RELEASE rm $RELEASE/$RELEASE && cat $RELEASE/$RELEASE.asc