2007-12-12 18:35:46 -05:00
|
|
|
source misc/version.sh
|
|
|
|
|
2007-09-20 18:09:08 -04:00
|
|
|
CPU=$1
|
|
|
|
|
|
|
|
if [ "$CPU" = "x86" ]; then
|
|
|
|
FLAGS="-no-sse2"
|
|
|
|
fi
|
|
|
|
|
|
|
|
make windows-nt-x86
|
2007-12-12 18:24:42 -05:00
|
|
|
|
|
|
|
wget http://factorcode.org/dlls/freetype6.dll
|
|
|
|
wget http://factorcode.org/dlls/zlib1.dll
|
|
|
|
wget http://factorcode.org/images/$VERSION/boot.x86.32.image
|
|
|
|
|
2007-09-20 18:09:08 -04:00
|
|
|
CMD="./factor-nt -i=boot.x86.32.image -no-user-init $FLAGS"
|
|
|
|
echo $CMD
|
|
|
|
$CMD
|
2007-12-12 18:24:42 -05:00
|
|
|
rm -rf .git/
|
2007-09-20 18:09:08 -04:00
|
|
|
rm -rf Factor.app/
|
|
|
|
rm -rf vm/
|
|
|
|
rm -f Makefile
|
|
|
|
rm -f cp_dir
|
|
|
|
rm -f boot.*.image
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
zip -r Factor-$VERSION-win32-$CPU.zip Factor/
|