]> git.street.me.uk Git - andy/viking.git/blobdiff - win32/make.bat
Make generation of the copyright year in the code automatic.
[andy/viking.git] / win32 / make.bat
index 42a4f5bae31b2b2448402bc8c69d3c50bcd8c0d6..e908d6e7f0c39ce8f9c67a403aef39c391d75eac 100644 (file)
@@ -1,5 +1,13 @@
 :: 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