# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $

LIBDIR=/usr/local/lib/ocaml/
CAMLC=ocamlc
CAMLCOPT=ocamlopt
COMPFLAGS=-g
COMPFLAGSOPT=
CAMLLIBR=ocamllibr
CAMLLEX=ocamllex
CAMLYACC=ocamlyacc
CAMLDEP=ocamldep -pp camlp4o
CPP=/lib/cpp -P
RM=rm -f
CP=cp -p -f
TOP=../.
CONFIG=$(TOP)/config

all::
allopt:opt

# (begin Imakefile)

colwheel.OBJS=colwheel.cmo
colwheel.FILES=$(colwheel.OBJS:.cmo=.ml)

all::colwheel

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

clean::
	$(RM) colwheel

colwheel: colwheel.cmo
	$(CAMLC) $(LINKFLAGS) -custom unix.cma graphics.cma  colwheel.cmo -o colwheel

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

opt::colwheel.opt

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

clean::
	$(RM) colwheel colwheel.opt

colwheel.opt: colwheel.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT) unix.cmxa graphics.cmxa  colwheel.cmx -o colwheel.opt
	$(CP) colwheel.opt colwheel

# (end Imakefile)

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

depend::

beforedepend::

mfile:
	imake -I$(CONFIG) -DTOPDIR=$(TOP)

makefiles:: beforedepend mfile depend

.SUFFIXES: .mli .cmi .ml .cmo .cmx

.mli.cmi:
	$(CAMLC) $(COMPFLAGS) -c $<

.ml.cmo:
	$(CAMLC) $(COMPFLAGS) -c $<

.ml.cmx:
	$(CAMLCOPT) $(COMPFLAGSOPT) -c $<

# Generated dependencies below

