# Makefile generated by imake - do not edit!
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $

CAMLC=camlc
COMPFLAGS=-W
CAMLLIBR=camllibr
CAMLLEX=camllex
CAMLYACC=camlyacc
CPP=/lib/cpp -P
CAMLDEP=camldep
RM=rm -f
TOP=./..
CONFIG=$(TOP)/config

all::

# (begin Imakefile)

all::spir

spir: spir.ml
	$(CAMLC) $(LINKFLAGS) -custom 1.zo graphics.zo  spir.ml -lgraph -lunix -lX11 -o spir

clean::
	$(RM) spir

all::spir-bw

spir-bw: spir-bw.ml
	$(CAMLC) $(LINKFLAGS) -custom 1.zo graphics.zo  spir-bw.ml -lgraph -lunix -lX11 -o spir-bw

clean::
	$(RM) spir-bw

# (end Imakefile)

clean::
	$(RM) *.zi *.zix *.zo *~ #*#

beforedepend::

makefile: beforedepend
	imake -I$(CONFIG) -DTOPDIR=$(TOP)
	$(CAMLDEP) *.mli *.ml >> Makefile

makefiles:: makefile

.SUFFIXES: .mli .zi .ml .zo

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

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

# Generated dependencies below

