# 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)

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

byt:: showsort.byt

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

clean::
	$(RM) showsort.byt

showsort.byt: showsort.cmo
	$(CAMLBYT) $(LINKFLAGSBYT) -custom unix.cma graphics.cma  showsort.cmo -o showsort

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

bin:: showsort.bin

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

clean::
	$(RM) showsort.bin

showsort.bin: showsort.cmx
	$(CAMLBIN) $(LINKFLAGSBIN) unix.cmxa graphics.cmxa  showsort.cmx -o showsort.bin
	$(CP) showsort.bin showsort

clean::
	$(RM) showsort

# (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

showsort.cmo:
showsort.cmx:
showsort.cmo:
showsort.cmx:
showsort.cmo:
showsort.cmx:
showsort.cmo:
showsort.cmx:
