40 lines
1.5 KiB
Makefile
40 lines
1.5 KiB
Makefile
#########################################################################
|
|
# #
|
|
# 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$
|
|
|
|
CAMLC = ::::boot:ocamlrun ::::ocamlc -I ::::stdlib:
|
|
CAMLOPT = ::::boot:ocamlrun ::::ocamlopt -I ::::stdlib:
|
|
|
|
test Ä test.byt
|
|
:test.byt
|
|
|
|
TESTFILES = test.cmo test_nats.cmo test_big_ints.cmo ¶
|
|
test_ratios.cmo test_nums.cmo test_io.cmo end_test.cmo
|
|
|
|
test.byt Ä {TESTFILES} ::nums.cma ::libnums.o
|
|
alias ocamlc "{CAMLC}"
|
|
::::tools:ocamlc-custom -o test.byt ::nums.cma {TESTFILES} ::libnums.[ox]
|
|
|
|
.cmo Ä .ml
|
|
{CAMLC} -I :: -c {default}.ml
|
|
|
|
ocamlnum Ä
|
|
ocamlmktop -o ocamlnum -custom ::nums.cma ::libnums.[ox]
|
|
|
|
clean Ä
|
|
delete -i test.byt ocamlnum
|
|
delete -i Å.cm[io] || set status 0
|
|
|
|
depend Ä
|
|
ocamldep Å.ml > Makefile.Mac.depend
|