#*** Copyright 2002-2004 The Acute Team
#
#  Allen-Williams, Mair
#  Bishop, Steven
#  Fairbairn, Matthew
#  Habouzit, Pierre [*]
#  Leifer, James [*]
#  Sewell, Peter
#  Sjberg, Vilhelm
#  Steinruecken, Christian
#  Vafeiadis, Viktor
#  Wansbrough, Keith
#  Zappa Nardelli, Francesco [*]
#  Institut National de Recherche en Informatique et en Automatique (INRIA)
#
#  Contributions of authors marked [*] are copyright INRIA.
#
#All rights reserved.
#
#This file is distributed under the terms of the GNU Lesser General
#Public License, with the special exception on linking described in
#file NEW-LICENSE.
#
#***

all: ambients-compiler ambients-aco


ambients-compiler: ambients-compiler.ml
	ocamlc -c -pp camlp4o ambients-compiler.ml
	ocamlc -I gramlib.cmo ambients-compiler.cmo -o ambients-compiler

ambients-aco:
	./ambients-go "-emitobject util.ac"
	./ambients-go "-emitobject ambients-trees.ac"

clean:
	rm -rf *.cmi *.cmo ambients-compiler *.aco test1.ac test2.ac


