+:: License: CC0\r
:: Full build\r
::\r
:: Note this assumes the 'configure' script already exists\r
:: either via part of the source download or via separate generation - e.g. using wine\r
::\r
set PATH=%PATH%;%SystemDrive%\Mingw\bin;%SystemDrive%\msys\1.0\bin\r
-cd ..\\r
-sh configure CFLAGS=-DWINDOWS LIBCURL=-lcurldll LIBS=-lzdll --disable-realtime-gps-tracking --disable-scrollkeeper\r
-make\r
+pushd ..\r
+sh configure CFLAGS="-DWINDOWS -mwindows" LIBCURL=-lcurldll LIBS=-lzdll --disable-realtime-gps-tracking --disable-scrollkeeper --enable-windows\r
+popd\r
+make.bat\r