1996-02-21 02:49:46 -08:00
|
|
|
# Makefile for the parser generator.
|
|
|
|
|
|
|
|
!include ..\config\Makefile.nt
|
|
|
|
|
|
|
|
CC=$(BYTECC)
|
|
|
|
CFLAGS=-DNDEBUG -DNO_UNIX $(BYTECCCOMPOPTS)
|
|
|
|
|
|
|
|
OBJS= closure.obj error.obj lalr.obj lr0.obj main.obj mkpar.obj output.obj reader.obj \
|
|
|
|
skeleton.obj symtab.obj verbose.obj warshall.obj
|
|
|
|
|
1996-04-30 07:53:58 -07:00
|
|
|
all: ocamlyacc.exe
|
1996-02-21 02:49:46 -08:00
|
|
|
|
1996-04-30 07:53:58 -07:00
|
|
|
ocamlyacc.exe: $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) $(CCLINKFLAGS) -o ocamlyacc.exe $(OBJS)
|
1996-02-21 02:49:46 -08:00
|
|
|
|
|
|
|
clean:
|
1996-04-30 07:53:58 -07:00
|
|
|
rm -f *.obj ocamlyacc.exe *~
|
1996-02-21 02:49:46 -08:00
|
|
|
|
|
|
|
depend:
|
|
|
|
|
|
|
|
closure.obj: defs.h
|
|
|
|
error.obj: defs.h
|
|
|
|
lalr.obj: defs.h
|
|
|
|
lr0.obj: defs.h
|
|
|
|
main.obj: defs.h
|
|
|
|
mkpar.obj: defs.h
|
|
|
|
output.obj: defs.h
|
|
|
|
reader.obj: defs.h
|
|
|
|
skeleton.obj: defs.h
|
|
|
|
symtab.obj: defs.h
|
|
|
|
verbose.obj: defs.h
|
|
|
|
warshall.obj: defs.h
|