summaryrefslogtreecommitdiffstats
path: root/testsuite/interactive/lib-gc/Makefile
blob: 1e4281fb8717101f0f63667b7121f04c5576953f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#########################################################################
#                                                                       #
#                                 OCaml                                 #
#                                                                       #
#                 Xavier Clerc, SED, INRIA Rocquencourt                 #
#                                                                       #
#   Copyright 2010 Institut National de Recherche en Informatique et    #
#   en Automatique.  All rights reserved.  This file is distributed     #
#   under the terms of the Q Public License version 1.0.                #
#                                                                       #
#########################################################################

BASEDIR=../..

default:
	@$(OCAMLC) -o program.byte alloc.ml
	@./program.byte
	@$(OCAMLOPT) -o program.native alloc.ml
	@./program.native

clean: defaultclean
	@rm -fr program.*

include $(BASEDIR)/makefiles/Makefile.common