######################################################################### # # # 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, with # # the special exception on linking described in file ../../LICENSE. # # # ######################################################################### # $Id$ # Makefile for the portable graphics library !include ..\..\config\Makefile.nt CAMLC=..\..\boot\ocamlrun ..\..\ocamlc -I ..\..\boot CAMLOPT=..\..\boot\ocamlrun ..\..\ocamlopt -I ..\..\stdlib all: graphics.cmi graphics.cmo graphics.cma allopt: graphics.cma: graphics.cmo $(CAMLC) -a -o graphics.cma graphics.cmo partialclean: rm -f *.cm* clean: partialclean install: cp graphics.cm[ioa] $(LIBDIR) installopt: .SUFFIXES: .ml .mli .cmo .cmi .cmx .mli.cmi: $(CAMLC) -c $< .ml.cmo: $(CAMLC) -c $< .ml.cmx: $(CAMLOPT) -c $(COMPFLAGS) $< depend: ..\..\tools\ocamldep *.mli *.ml >> .depend !include .depend