shithub: martian9

ref: 9c051022720fb7ac3ba0e899550654d348462c63
dir: /mkfile/

View raw version
# -*- makefile -*-

BIN=m9

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