]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/ocaml/contrib/yacc/Makefile.nt
Update
[l4.git] / l4 / pkg / ocaml / ocaml / contrib / yacc / Makefile.nt
1 #########################################################################
2 #                                                                       #
3 #                            Objective Caml                             #
4 #                                                                       #
5 #            Xavier Leroy, projet Cristal, INRIA Rocquencourt           #
6 #                                                                       #
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.                #
10 #                                                                       #
11 #########################################################################
12
13 # $Id: Makefile.nt 8521 2007-11-15 13:21:15Z frisch $
14
15 # Makefile for the parser generator.
16
17 include ../config/Makefile
18
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)
22
23 all: ocamlyacc.exe
24
25 ocamlyacc.exe: $(OBJS)
26         $(MKEXE) -o ocamlyacc.exe $(OBJS) $(EXTRALIBS)
27
28 version.h : ../VERSION
29         echo "#define OCAML_VERSION \"`head -1 ../VERSION`\"" >version.h
30
31 clean:
32         rm -f *.$(O) ocamlyacc.exe *~ version.h
33
34 .SUFFIXES: .c .$(O)
35
36 .c.$(O):
37         $(BYTECC) -DNDEBUG -DNO_UNIX $(BYTECCCOMPOPTS) -c $<
38
39 depend:
40
41 closure.$(O): defs.h
42 error.$(O): defs.h
43 lalr.$(O): defs.h
44 lr0.$(O): defs.h
45 main.$(O): defs.h version.h
46 mkpar.$(O): defs.h
47 output.$(O): defs.h
48 reader.$(O): defs.h
49 skeleton.$(O): defs.h
50 symtab.$(O): defs.h
51 verbose.$(O): defs.h
52 warshall.$(O): defs.h