ocaml/otherlibs/graph/Makefile.nt

52 lines
1.4 KiB
Makefile
Raw Normal View History

#########################################################################
# #
# 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$
# Makefile for the portable graphics library
!include ..\..\config\Makefile.nt
CAMLC=..\..\boot\ocamlrun ..\..\boot\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