#*********************************************************************#
#                                                                     #
#                           Htmlc                                     #
#                                                                     #
#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
#                                                                     #
#  Copyright 1997 Institut National de Recherche en Informatique et   #
#  en Automatique.  Distributed only by permission.                   #
#                                                                     #
#*********************************************************************#

#(* $Id: Makefile,v 1.4 2003/03/01 16:35:47 weis Exp $ *)

# Where to install the binaries
BINDIR=/usr/local/bin

# The Objective Caml compilers (those defaults should be OK)
OCAMLDEP = ocamldep
OCAMLC = ocamlc -warn-error A -g
OCAMLOPT = ocamlopt -warn-error A
OCAMLYACC = ocamlyacc -v
OCAMLLEX = ocamllex
SHELL=/bin/sh
MKDIR=mkdir -p

clean::
	/bin/rm -f depend
	/bin/rm -f *.cm[iox] *.o *~

.SUFFIXES:
.SUFFIXES: .ml .mli .cmi .cmo .cmx

.ml.cmo:
	$(OCAMLC) -c $<

.mli.cmi:
	$(OCAMLC) -c $<

.ml.cmx:
	$(OCAMLOPT) -c $<
