1 #Set all of these or none of them
9 @echo Yacc-alike set to $(YACC)
10 @echo YTABC set to $(YTABC)
11 @echo YTABH set to $(YTABH)
15 @echo Lex-alike set to $(LEX)
16 @echo LEXYYC set to $(LEXYYC)
21 all: ..\util\dgn_yacc.c ..\util\dgn_lex.c
26 -del ..\util\dgn_lex.c
27 -del ..\util\dgn_yacc.c
28 -del ..\include\dgn_comp.h
30 #==========================================
31 # Dungeon Compiler Stuff
32 #==========================================
34 ..\util\dgn_yacc.c ..\include\dgn_comp.h : ..\util\dgn_comp.y
36 @echo Using pre-built dgn_yacc.c and dgn_comp.h
37 @copy ..\sys\share\dgn_yacc.c ..\util\dgn_yacc.c
38 @copy ..\sys\share\dgn_comp.h ..\include\dgn_comp.h
43 copy $(YTABH) ..\include\dgn_comp.h
49 ..\util\dgn_lex.c: ..\util\dgn_comp.l
51 @echo Using pre-built dgn_lex.c
52 @copy ..\sys\share\dgn_lex.c $@