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 GNU Library General Public License. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
1996-09-05 05:33:34 -07:00
|
|
|
# Makefile for the portable graphics library
|
|
|
|
|
|
|
|
!include ..\..\config\Makefile.nt
|
|
|
|
|
|
|
|
CAMLC=..\..\boot\ocamlrun ..\..\boot\ocamlc -I ..\..\boot
|
|
|
|
CAMLOPT=..\..\boot\ocamlrun ..\..\ocamlopt -I ..\..\stdlib
|
|
|
|
|
1999-06-16 06:51:35 -07:00
|
|
|
all: graphics.cmi graphics.cmo graphics.cma
|
1996-09-05 05:33:34 -07:00
|
|
|
|
|
|
|
allopt:
|
|
|
|
|
1999-06-16 06:51:35 -07:00
|
|
|
graphics.cma: graphics.cmo
|
|
|
|
$(CAMLC) -a -o graphics.cma graphics.cmo
|
|
|
|
|
1997-02-16 05:36:42 -08:00
|
|
|
partialclean:
|
1996-09-05 05:33:34 -07:00
|
|
|
rm -f *.cm*
|
|
|
|
|
1997-02-16 05:36:42 -08:00
|
|
|
clean: partialclean
|
1996-09-05 05:33:34 -07:00
|
|
|
|
|
|
|
install:
|
1999-06-16 06:51:35 -07:00
|
|
|
cp graphics.cm[ioa] $(LIBDIR)
|
1996-09-05 05:33:34 -07:00
|
|
|
|
|
|
|
installopt:
|
|
|
|
|
|
|
|
.SUFFIXES: .ml .mli .cmo .cmi .cmx
|
|
|
|
|
|
|
|
.mli.cmi:
|
|
|
|
$(CAMLC) -c $<
|
|
|
|
.ml.cmo:
|
|
|
|
$(CAMLC) -c $<
|
|
|
|
.ml.cmx:
|
|
|
|
$(CAMLOPT) -c $(COMPFLAGS) $<
|
|
|
|
|
1996-10-07 07:03:20 -07:00
|
|
|
depend:
|
1996-09-05 05:33:34 -07:00
|
|
|
..\..\tools\ocamldep *.mli *.ml >> .depend
|
|
|
|
|
|
|
|
!include .depend
|