shithub: martian9

ref: 5597ed0a108af923f112a4ca6336071f71bae6bd
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

FILES=\
	utils.ml\
	types.ml\
	env.ml\
	printer.ml\
	macro.ml\
	reader.ml\
	core.ml\
	eval.ml

$BIN:
	ocamlc str.cma -g -o $target $FILES m9.ml

%.cmx : %.ml
	ocamlopt -c $stem.ml

%.cmo : %.ml
	ocamlc -c $stem.ml

install:V: $BIN
	cp $prereq ~/bin/$BIN

clean:V:
	rm -f $BIN *.cmx *.cmi *.cmo