clivecrous / vultures

An isometric graphical interface for the games NetHack and Slash'EM

This URL has Read+Write access

vultures / mingw-make-slashem.bat
6d1ca7f7 » clivecrous 2008-07-15 Correct gnuwin32 usage 1 @which bison
2 @IF ERRORLEVEL 1 GOTO need_gnuwin
3 @which flex
4 @if ERRORLEVEL 1 GOTO need_gnuwin
5
6 REM ---------- Slash'EM ----------
7 del /S /Q slashem\win\vultures
8 mkdir slashem\win\vultures
9 xcopy /E /-Y vultures\* slashem\win\vultures\
10 cd slashem\sys\winnt
11 call nhsetup
12 cd ..\..\src
13 mingw32-make -f Makefile.gcc spotless
14 mingw32-make -f Makefile.gcc all
15 cd ..\..
16 strip --strip-all slashem\binary\VulturesClaw.exe
17
18 goto EOF
19
20 :need_gnuwin
21 @echo.
22 @echo You need flex and bison to build vultures.
23 @echo A good place to get them is the gnuwin project
24 @echo see http://gnuwin32.sourceforge.net/
25 @echo.
26 @echo Be sure to use the gnuwin32 prompt for correct paths
27 @echo.
28
29
30 :EOF