Merge branch 'master' of https://github.com/albert-chang0/fio
[fio.git] / os / windows / _domake.sh
1 #!/usr/bin/env bash
2
3 set -e
4
5 cd "$2"
6 cd ../..
7 if [ -e "fio.exe" ]; then
8   make clean
9 fi
10
11 if [ "$1" = "x86" ]; then
12   ./configure --disable-native --build-32bit-win
13 else
14   ./configure --disable-native
15 fi
16
17 make -j