1999-11-17 10:59:06 -08:00
|
|
|
#########################################################################
|
|
|
|
# #
|
2011-07-27 07:17:02 -07:00
|
|
|
# OCaml #
|
1999-11-17 10:59:06 -08:00
|
|
|
# #
|
|
|
|
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|
|
|
# en Automatique. All rights reserved. This file is distributed #
|
2001-12-07 05:41:02 -08:00
|
|
|
# under the terms of the GNU Library General Public License, with #
|
|
|
|
# the special exception on linking described in file ../../LICENSE. #
|
1999-11-17 10:59:06 -08:00
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
1995-11-06 02:34:19 -08:00
|
|
|
# Makefile for the "num" (exact rational arithmetic) library
|
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
LIBNAME=nums
|
|
|
|
EXTRACFLAGS=-DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL)
|
2004-11-09 06:24:40 -08:00
|
|
|
CAMLOBJS=int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo \
|
1995-11-06 02:34:19 -08:00
|
|
|
ratio.cmo num.cmo arith_status.cmo
|
1996-10-09 02:41:21 -07:00
|
|
|
CMIFILES=big_int.cmi nat.cmi num.cmi ratio.cmi arith_status.cmi
|
2007-11-06 07:16:56 -08:00
|
|
|
COBJS=bng.$(O) nat_stubs.$(O)
|
1995-11-06 02:34:19 -08:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
include ../Makefile
|
1995-11-06 02:34:19 -08:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
clean::
|
2008-09-10 09:10:43 -07:00
|
|
|
rm -f *~
|
1995-11-06 02:34:19 -08:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
bng.$(O): bng.h bng_digit.c \
|
2011-12-18 01:52:52 -08:00
|
|
|
bng_amd64.c bng_ia32.c bng_ppc.c bng_sparc.c
|
1995-11-06 02:34:19 -08:00
|
|
|
|
1996-10-07 07:03:20 -07:00
|
|
|
depend:
|
1995-11-06 02:34:19 -08:00
|
|
|
gcc -MM $(CFLAGS) *.c > .depend
|
1998-04-21 09:09:03 -07:00
|
|
|
../../boot/ocamlrun ../../tools/ocamldep *.mli *.ml >> .depend
|
1995-11-06 02:34:19 -08:00
|
|
|
|
|
|
|
include .depend
|