# 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)
spir.OBJS=spir.cmo
spir.FILES=$(spir.OBJS:.cmo=.ml)
all::spir
depend::
$(CAMLDEP) $(spir.FILES) >> Makefile
clean::
$(RM) spir
spir: spir.cmo
$(CAMLC) $(LINKFLAGS) -custom unix.cma graphics.cma spir.cmo -o spir
spir.BINOBJS=spir.cmx
spir.FILES=$(spir.BINOBJS:.cmx=.ml)
opt::spir.opt
depend::
$(CAMLDEP) $(spir.FILES) >> Makefile
clean::
$(RM) spir spir.opt
spir.opt: spir.cmx
$(CAMLCOPT) $(LINKFLAGSOPT) unix.cmxa graphics.cmxa spir.cmx -o spir.opt
$(CP) spir.opt spir
spir-bw.OBJS=spir-bw.cmo
spir-bw.FILES=$(spir-bw.OBJS:.cmo=.ml)
all::spir-bw
depend::
$(CAMLDEP) $(spir-bw.FILES) >> Makefile
clean::
$(RM) spir-bw
spir-bw: spir-bw.cmo
$(CAMLC) $(LINKFLAGS) -custom unix.cma graphics.cma spir-bw.cmo -o spir-bw
spir-bw.BINOBJS=spir-bw.cmx
spir-bw.FILES=$(spir-bw.BINOBJS:.cmx=.ml)
opt::spir-bw.opt
depend::
$(CAMLDEP) $(spir-bw.FILES) >> Makefile
clean::
$(RM) spir-bw spir-bw.opt
spir-bw.opt: spir-bw.cmx
$(CAMLCOPT) $(LINKFLAGSOPT) unix.cmxa graphics.cmxa spir-bw.cmx -o spir-bw.opt
$(CP) spir-bw.opt spir-bw
# (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
syntax highlighted by Code2HTML, v. 0.9.1