shithub: martian9

ref: 89403fb391d40dee3ee3ca6b59a70d07d04de1c2
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