# Makefile generated by imake - do not edit!

CPP=/lib/cpp -P
RM=rm -f
CP=cp -p -f
TOPDIR=.
CONFIGDIR=$(TOPDIR)/config

LIBDIR=/usr/local/lib/ocaml/

CAMLCOMPILERBIN=ocamlopt
CAMLCOMPILERBYT=ocamlc
CAMLFLAGSBIN=-w A -warn-error Ae
CAMLFLAGSBYT=-g $(CAMLFLAGSBIN)

CAMLBIN=$(CAMLCOMPILERBIN) $(CAMLFLAGSBIN)
CAMLBYT=$(CAMLCOMPILERBYT) $(CAMLFLAGSBYT)

CAMLLIBRBYT=ocamlmklib
CAMLLIBRBIN=ocamlmklib

CAMLLEX=ocamllex
CAMLYACC=ocamlyacc
CAMLDEP=ocamldep -pp camlp4o

all:: byt bin

# (begin Imakefile)

doctor.BYTOBJS=doctor.cmo
doctor.FILES=$(doctor.BYTOBJS:.cmo=.ml)

byt:: doctor.byt

depend::
	$(CAMLDEP) $(doctor.FILES) >> Makefile

clean::
	$(RM) doctor.byt

doctor.byt: doctor.cmo
	$(CAMLBYT) $(LINKFLAGSBYT)  doctor.cmo -o doctor.byt
	$(CP) doctor.byt doctor

clean::
	$(RM) doctor

doctor.BINOBJS=doctor.cmx
doctor.FILES=$(doctor.BINOBJS:.cmx=.ml)

bin:: doctor.bin

depend::
	$(CAMLDEP) $(doctor.FILES) >> Makefile

clean::
	$(RM) doctor.bin

doctor.bin: doctor.cmx
	$(CAMLBIN) $(LINKFLAGSBIN)  doctor.cmx -o doctor.bin
	$(CP) doctor.bin doctor

clean::
	$(RM) doctor

# (end Imakefile)

clean::
	$(RM) *.cmi *.cmix *.cmo *.cmx *.o a.out* *~ *.byt *.bin #*#

depend::

beforedepend::

mfile:
	imake -I$(CONFIGDIR)

makefiles:: beforedepend mfile depend

.SUFFIXES: .mli .cmi .ml .mly .mll .cmo .cmx .cma .cmxa

.mli.cmi:
	$(CAMLBYT) -c $<

.ml.cmo:
	$(CAMLBYT) -c $<

.ml.cmx:
	$(CAMLBIN) -c $<

# Generated dependencies below

doctor.cmo:
doctor.cmx:
doctor.cmo:
doctor.cmx:
doctor.cmo:
doctor.cmx:
doctor.cmo:
doctor.cmx:
