summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/otherlibs/num/Makefile.nt
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/otherlibs/num/Makefile.nt')
-rw-r--r--ocaml-binary-annot/otherlibs/num/Makefile.nt36
1 files changed, 36 insertions, 0 deletions
diff --git a/ocaml-binary-annot/otherlibs/num/Makefile.nt b/ocaml-binary-annot/otherlibs/num/Makefile.nt
new file mode 100644
index 0000000000..16103b2b00
--- /dev/null
+++ b/ocaml-binary-annot/otherlibs/num/Makefile.nt
@@ -0,0 +1,36 @@
+#########################################################################
+# #
+# 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 "num" (exact rational arithmetic) library
+
+LIBNAME=nums
+EXTRACFLAGS=-DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL)
+CAMLOBJS=int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo \
+ ratio.cmo num.cmo arith_status.cmo
+CMIFILES=big_int.cmi nat.cmi num.cmi ratio.cmi arith_status.cmi
+COBJS=bng.$(O) nat_stubs.$(O)
+
+include ../Makefile.nt
+
+clean::
+ rm -f *~
+
+bng.$(O): bng.h bng_digit.c \
+ bng_alpha.c bng_amd64.c bng_ia32.c bng_mips.c bng_ppc.c bng_sparc.c
+
+depend:
+ sed -e 's/\.o/.$(O)/g' .depend > .depend.nt
+
+include .depend.nt