5 MAKE="make -j$(grep -c processor /proc/cpuinfo)"
7 export CFLAGS="-O2 -Wall -Werror"
9 autoreconf -i -f # make sure the version number gets updated
11 ./configure && $MAKE distcheck
13 # Recompress with 7-Zip
14 gzfile=$(ls wimlib-*.tar.gz | tail -1)
17 7z -mx9 a $gzfile $tarfile
20 for arch in i686 x86_64; do
21 ./tools/make-windows-release $arch