1 # $ANH-Date$ $ANH-Branch$:$ANH-Revision$
3 # Set all of these or none of them.
5 # bison and flex are the ones found in GnuWin32, which
6 # is probably the easiest set of these tools to find
18 all: tools ..\util\lev_yacc.c ..\util\lev_lex.c
23 -del ..\util\lev_lex.c
24 -del ..\util\lev_yacc.c
25 -del ..\
include\lev_comp.h
29 @echo Yacc-alike set to
$(YACC
)
30 @echo YTABC set to
$(YTABC
)
31 @echo YTABH set to
$(YTABH
)
35 @echo Lex-alike set to
$(LEX
)
36 @echo LEXYYC set to
$(LEXYYC
)
39 #==========================================
40 # Level Compiler Stuff
41 #==========================================
43 ..\util\lev_yacc.c ..\
include\lev_comp.h
: ..\util\lev_comp.y
45 @echo Using pre-built lev_yacc.c and lev_comp.h
46 @copy ..\sys\share\lev_yacc.c ..\util\lev_yacc.c
47 @copy ..\sys\share\lev_comp.h ..\
include\lev_comp.h
49 @echo Generating lev_yacc.c and lev_comp.h
53 copy
$(YTABH
) ..\
include\lev_comp.h
59 ..\util\lev_lex.c
: ..\util\lev_comp.l
61 @echo Using pre-built lev_lex.c
62 @copy ..\sys\share\lev_lex.c
$@
64 @echo Generating lev_lex.c