:: License: CC0\r
:: Standard build\r
set PATH=%PATH%;%SystemDrive%\MinGW\bin;%SystemDrive%\msys\1.0\bin\r
-cd ..\src\r
-make\r
+\r
+:: The icon needs creating first as it will get embedded in the generated executable\r
+echo Create Icon\r
+pushd installer\pixmaps\r
+windres.exe viking_icon.rc -o viking_icon.o\r
+popd\r
+\r
+:: Change to root directory and build\r
+cd ..\r
+make %*\r