summaryrefslogtreecommitdiff
path: root/yacc/Makefile.nt
blob: 37ee4054977667e767a154835314e603102d89e4 (plain)
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
31
32
# 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

all: ocamlyacc.exe

ocamlyacc.exe: $(OBJS)
	$(CC) $(CFLAGS) $(CCLINKFLAGS) -o ocamlyacc.exe $(OBJS)

clean:
	rm -f *.obj ocamlyacc.exe *~

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