1999-11-17 10:59:06 -08:00
|
|
|
#########################################################################
|
|
|
|
# #
|
|
|
|
# Objective Caml #
|
|
|
|
# #
|
|
|
|
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|
|
|
# en Automatique. All rights reserved. This file is distributed #
|
|
|
|
# under the terms of the Q Public License version 1.0. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
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
|