1 #########################################################################
5 # Xavier Leroy, projet Cristal, INRIA Rocquencourt #
7 # Copyright 1999 Institut National de Recherche en Informatique et #
8 # en Automatique. All rights reserved. This file is distributed #
9 # under the terms of the Q Public License version 1.0. #
11 #########################################################################
13 # $Id: Makefile.nt 8521 2007-11-15 13:21:15Z frisch $
15 # Makefile for the parser generator.
17 include ../config/Makefile
19 OBJS= closure.$(O) error.$(O) lalr.$(O) lr0.$(O) main.$(O) \
20 mkpar.$(O) output.$(O) reader.$(O) \
21 skeleton.$(O) symtab.$(O) verbose.$(O) warshall.$(O)
25 ocamlyacc.exe: $(OBJS)
26 $(MKEXE) -o ocamlyacc.exe $(OBJS) $(EXTRALIBS)
28 version.h : ../VERSION
29 echo "#define OCAML_VERSION \"`head -1 ../VERSION`\"" >version.h
32 rm -f *.$(O) ocamlyacc.exe *~ version.h
37 $(BYTECC) -DNDEBUG -DNO_UNIX $(BYTECCCOMPOPTS) -c $<
45 main.$(O): defs.h version.h