1999-11-17 10:59:06 -08:00
|
|
|
|
#########################################################################
|
|
|
|
|
# #
|
|
|
|
|
# Objective Caml #
|
|
|
|
|
# #
|
|
|
|
|
# Damien Doligez, projet Para, 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-11-02 10:04:50 -08:00
|
|
|
|
CAMLC = ::::boot:ocamlrun ::::ocamlc -I ::::stdlib:
|
|
|
|
|
CAMLOPT = ::::boot:ocamlrun ::::ocamlopt -I ::::stdlib:
|
|
|
|
|
|
|
|
|
|
test <EFBFBD> test.byt
|
1999-11-08 11:03:57 -08:00
|
|
|
|
:test.byt
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
TESTFILES = test.cmo test_nats.cmo test_big_ints.cmo <20>
|
|
|
|
|
test_ratios.cmo test_nums.cmo end_test.cmo
|
|
|
|
|
|
|
|
|
|
test.byt <20> {TESTFILES} ::nums.cma ::libnums.o
|
1999-11-08 11:03:57 -08:00
|
|
|
|
alias ocamlc "{CAMLC}"
|
|
|
|
|
::::tools:ocamlc-custom -o test.byt ::nums.cma {TESTFILES} ::libnums.[ox]
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
.cmo <EFBFBD> .ml
|
1999-11-08 11:03:57 -08:00
|
|
|
|
{CAMLC} -I :: -c {default}.ml
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
ocamlnum <EFBFBD>
|
1999-11-08 11:03:57 -08:00
|
|
|
|
ocamlmktop -o ocamlnum -custom ::nums.cma ::libnums.[ox]
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
clean <EFBFBD>
|
1999-11-08 11:03:57 -08:00
|
|
|
|
delete -i test.byt ocamlnum
|
|
|
|
|
delete -i <20>.cm[io] || set status 0
|
1996-11-02 10:04:50 -08:00
|
|
|
|
|
|
|
|
|
depend <EFBFBD>
|
1999-11-08 11:03:57 -08:00
|
|
|
|
ocamldep <20>.ml > Makefile.Mac.depend
|