clivecrous / vultures

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

This URL has Read+Write access

commit  4e92a8ea325c28942c3c5b780b927014e720f724
tree    1b8a35f6ec3f25f667869924d8f90f3ae3034bd2
parent  a71d600539f8458f64cf762352bae860fd7913e6
vultures / mingw-make-nethack.bat
100644 30 lines (25 sloc) 0.664 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@which bison
@IF ERRORLEVEL 1 GOTO need_gnuwin
@which flex
@if ERRORLEVEL 1 GOTO need_gnuwin
 
REM ---------- NetHack ----------
del /S /Q nethack\win\vultures
mkdir nethack\win\vultures
xcopy /E /-Y vultures\* nethack\win\vultures\
cd nethack\sys\winnt
call nhsetup
cd ..\..\src
mingw32-make -f Makefile.gcc spotless
mingw32-make -f Makefile.gcc all
cd ..\..
strip --strip-all nethack\binary\VulturesEye.exe
 
goto EOF
 
:need_gnuwin
@echo.
@echo You need flex and bison to build vultures.
@echo A good place to get them is the gnuwin project
@echo see http://gnuwin32.sourceforge.net/
@echo.
@echo Be sure to use the gnuwin32 prompt for correct paths
@echo.
 
:EOF