# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $

# $Id: Imake.tmpl,v 1.2 91/12/13 18:41:29 ddr Exp $

# $Id: Imake.rules,v 1.4 92/03/19 15:29:46 ddr Exp $

TOP=../../.
CURRENT_DIR=./examples/cards
AR=ar
ARFLAGS=qc
CAMLC=camlc
CAMLLINK=camlc
CAMLLIBR=camllibr
CAMLMKTOP=camlmktop
CC=cc
ZDEP=$(TOP)/zdep/zdep
RTDIR=$(TOP)/rt
RTLIB=$(RTDIR)/librt.zo
XLIB=$(TOP)/Xlib/$(ARCH)/libx.a
CONFIG=$(TOP)/config

MAKE=make

ARCH=.

BINDIR=/usr/local/bin
LIBDIR=/usr/local/lib/caml-light

ZFLAGS=-I $(RTDIR)
CFLAGS=-O -I$(LIBDIR)

all::

# (begin Imakefile)

# $Id: Imakefile,v 1.2 91/08/06 10:54:05 ddr Exp $

ZOFILES=card_pix.zo

all:: $(ZOFILES)

depend::
	rm -f Imakefile.bak
	cp Imakefile Imakefile.bak
	sed -n -e '1,/^### DO NOT DELETE THIS LINE/p' Imakefile.bak \
		> Imakefile
	$(ZDEP) $(ZFLAGS) *.ml >> Imakefile

### DO NOT DELETE THIS LINE
card_pix.zo: card_pix.zi ../.././rt/rt.zi
card_pix.zi: ../.././rt/rt.zi

# (end Imakefile)

clean scratch::
	rm -f *.run *.out *.zi *.zo *.o *.a *.bak *.BAK *~ *.log

install::

rminstall::

depend:: Makefile

save::
	-ci -q -m"- sauvegarde" RCS/*,v

restore::
	-co -q RCS/*,v

Makefile:: $(CONFIG)/Imake.tmpl $(CONFIG)/Imake.rules Imakefile
	rm -f Makefile.bak
	cp Makefile Makefile.bak
	imake -I$(CONFIG) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)

Makefiles::

deleteMakefiles::

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

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

.mlp.ml:
	/lib/cpp -P $< > $@

.mlip.mli:
	/lib/cpp -P $< > $@

.SUFFIXES: .ml .zo .mli .zi .mlp .mlip

