summaryrefslogtreecommitdiff
path: root/otherlibs/graph/Makefile.Mac
blob: 162dc2e9ec269a5dc4d6c86e01f57dae0b40b951 (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
33
34
35
36
37
38
39
#########################################################################
#                                                                       #
#                            Objective Caml                             #
#                                                                       #
#            Damien Doligez, projet Para, 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 GNU Library General Public License.          #
#                                                                       #
#########################################################################

# $Id$

CAMLC = :::boot:ocamlrun :::boot:ocamlc -I :::stdlib:

all Ä graphics.cmi graphics.cma
    set status 0

graphics.cma Ä graphics.cmo
    {CAMLC} -a -o graphics.cma graphics.cmo

partialclean Ä
    delete -i Å.cm[aio] || set status 0

clean Ä partialclean
    set status 0

install Ä
    duplicate -y graphics.cm[ia] graphics.mli "{LIBDIR}"

.cmi Ä .mli
    {CAMLC} -c {default}.mli

.cmo Ä .ml
    {CAMLC} -c {default}.ml

depend Ä
    :::boot:ocamlrun :::tools:ocamldep Å.mli Å.ml > Makefile.Mac.depend