summaryrefslogtreecommitdiffstats
path: root/otherlibs/graph/Makefile
blob: 19c4612ed7803c02b25c975cc2cb345f824f764f (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
#########################################################################
#                                                                       #
#                                 OCaml                                 #
#                                                                       #
#            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 GNU Library General Public License, with     #
#   the special exception on linking described in file ../../LICENSE.   #
#                                                                       #
#########################################################################

# $Id$

# Makefile for the portable graphics library

LIBNAME=graphics
COBJS=open.o draw.o fill.o color.o text.o \
  image.o make_img.o dump_img.o point_col.o sound.o events.o \
  subwindow.o
CAMLOBJS=graphics.cmo graphicsX11.cmo
LINKOPTS=-cclib "\"$(X11_LINK)\""
LDOPTS=-ldopt "$(X11_LINK)"

EXTRACFLAGS=$(X11_INCLUDES)

include ../Makefile

depend:
	gcc -MM $(CFLAGS) *.c | sed -e 's, /usr[^ ]*\.h,,g' > .depend
	../../boot/ocamlrun ../../tools/ocamldep *.mli *.ml >> .depend

include .depend