all: mytop

%.cmo: %.ml
	ocamlc -I +compiler-libs -c $< -o $@

mytop: lib.cmo top.cmo
	ocamlmktop -o $@ $^

clean:
	rm -f *.cm* mytop
