# Makefile

NAME=    io
SOURCES= fragments.ml io.ml channels.ml human_io.ml lexer.ml ascii_io.ml \
         binary_io.ml generic_io.ml
MLIS=    ascii_io.mli binary_io.mli fragments.mli generic_io.mli human_io.mli \
         io.mli lexer.mli
EXTRA_CLEAN=	lexer.ml

include ../Makefile.config
include .depend

ascii_io.cmo: lexer.cmi
ascii_io.cmx: lexer.cmx

lexer.ml: lexer.mll
	@OCAMLLEX@ -o $@ $<

lexer.cmo: fragments.cmi lexer.cmi
lexer.cmx: fragments.cmx lexer.cmi
