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

COMPFLAGS=-g -pp camlp4o

logo.OBJS=crayon.cmo langage.cmo alex.cmo asynt.cmo logo.cmo
logo.FILES=$(logo.OBJS:.cmo=.ml)

all::logo

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

clean::
	$(RM) logo

logo: crayon.cmo langage.cmo alex.cmo asynt.cmo logo.cmo
	$(CAMLC) -pp camlp4o $(LINKFLAGS) -custom unix.cma graphics.cma  crayon.cmo langage.cmo alex.cmo asynt.cmo logo.cmo -o logo

COMPFLAGSOPT=-pp camlp4o

logo.BINOBJS=crayon.cmx langage.cmx alex.cmx asynt.cmx logo.cmx
logo.FILES=$(logo.BINOBJS:.cmx=.ml)

opt::logo.opt

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

clean::
	$(RM) logo logo.opt

logo.opt: crayon.cmx langage.cmx alex.cmx asynt.cmx logo.cmx
	$(CAMLCOPT) -pp camlp4o $(LINKFLAGSOPT) unix.cmxa graphics.cmxa  crayon.cmx langage.cmx alex.cmx asynt.cmx logo.cmx -o logo.opt
	$(CP) logo.opt logo

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

crayon.cmo: crayon.cmi 
crayon.cmx: crayon.cmi 
langage.cmo: crayon.cmi langage.cmi 
langage.cmx: crayon.cmx langage.cmi 
alex.cmo: alex.cmi 
alex.cmx: alex.cmi 
asynt.cmo: alex.cmi langage.cmi asynt.cmi 
asynt.cmx: alex.cmx langage.cmx asynt.cmi 
logo.cmo: alex.cmi asynt.cmi crayon.cmi langage.cmi 
logo.cmx: alex.cmx asynt.cmx crayon.cmx langage.cmx 
crayon.cmo: crayon.cmi 
crayon.cmx: crayon.cmi 
langage.cmo: crayon.cmi langage.cmi 
langage.cmx: crayon.cmx langage.cmi 
alex.cmo: alex.cmi 
alex.cmx: alex.cmi 
asynt.cmo: alex.cmi langage.cmi asynt.cmi 
asynt.cmx: alex.cmx langage.cmx asynt.cmi 
logo.cmo: alex.cmi asynt.cmi crayon.cmi langage.cmi 
logo.cmx: alex.cmx asynt.cmx crayon.cmx langage.cmx 
