shithub: martian9

ref: 264e6b67b3caa3be6c4a23fca1a81adddc9d2bac
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

FILES=\
	types.ml\
	env.ml\
	reader.ml\
	printer.ml\
	core.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