ensure that the 'safe' objects remain safe
since Elbereth doesn't work if you're not on the square anymore, we need to make sure that critters are discouraged from grabbing the sokoban prize or the castle wand. also, fix up the level compiler makefiles so that uncommenting the YACC/LEX definitions (presuming you have the right tools installed) works properly.
This commit is contained in:
@@ -1,26 +1,18 @@
|
||||
# $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
||||
# $Date:2002/01/22 22:54:54 $ $Revision: 1.2 $
|
||||
#YACC = byacc.exe
|
||||
#LEX = flex.exe
|
||||
#YTABC = y_tab.c
|
||||
#YTABH = y_tab.h
|
||||
#LEXYYC = lexyy.c
|
||||
|
||||
!IF "$(YACC)"!=""
|
||||
@echo Yacc-alike set to $(YACC)
|
||||
@echo YTABC set to $(YTABC)
|
||||
@echo YTABH set to $(YTABH)
|
||||
!ENDIF
|
||||
# Set all of these or none of them.
|
||||
#
|
||||
# bison and flex are the ones found in GnuWin32, which
|
||||
# is probably the easiest set of these tools to find
|
||||
# on Windows.
|
||||
#
|
||||
#YACC = bison.exe -y
|
||||
#LEX = flex.exe
|
||||
#YTABC = y.tab.c
|
||||
#YTABH = y.tab.h
|
||||
#LEXYYC = lex.yy.c
|
||||
|
||||
!IF "$(LEX)"!=""
|
||||
@echo Lex-alike set to $(LEX)
|
||||
@echo LEXYYC set to $(LEXYYC)
|
||||
!ENDIF
|
||||
|
||||
# these won't have an impact unless YACC/LEX are defined
|
||||
YTABC = y.tab.c
|
||||
YTABH = y.tab.h
|
||||
LEXYYC = lex.yy.c
|
||||
|
||||
default: all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user